Fix settings when scaling up
This commit is contained in:
parent
cc601e1595
commit
0182128189
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ limitations under the License.
|
||||||
.mx_ToggleSwitch {
|
.mx_ToggleSwitch {
|
||||||
transition: background-color 0.20s ease-out 0.1s;
|
transition: background-color 0.20s ease-out 0.1s;
|
||||||
|
|
||||||
width: $font-48px;
|
width: $font-44px;
|
||||||
height: $font-20px;
|
height: $font-20px;
|
||||||
border-radius: 1.5rem;
|
border-radius: 1.5rem;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
|
|
|
@ -63,7 +63,7 @@ limitations under the License.
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: $font-14px;
|
font-size: $font-14px;
|
||||||
color: $primary-fg-color;
|
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;
|
box-sizing: border-box;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue