Fix settings when scaling up

This commit is contained in:
Jorik Schellekens 2020-04-07 15:07:34 +01:00
parent f59bd538b4
commit 633c6f6b5e
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ limitations under the License.
.mx_ToggleSwitch {
transition: background-color 0.20s ease-out 0.1s;
width: $font-48px;
width: $font-44px;
height: $font-20px;
border-radius: 1.5rem;
padding: 2px;

View file

@ -63,7 +63,7 @@ limitations under the License.
display: inline-block;
font-size: $font-14px;
color: $primary-fg-color;
max-width: calc(100% - 48px); // Force word wrap instead of colliding with the switch
max-width: calc(100% - $font-48px); // Force word wrap instead of colliding with the switch
box-sizing: border-box;
padding-right: 10px;
}