dont assume settings label only has one line

pull/21833/head
Bruno Windels 2019-02-12 12:50:23 +01:00
parent e7e322d513
commit 108cd6d671
1 changed files with 2 additions and 1 deletions

View File

@ -40,7 +40,6 @@ limitations under the License.
.mx_SettingsTab_section .mx_SettingsFlag { .mx_SettingsTab_section .mx_SettingsFlag {
margin-right: 100px; margin-right: 100px;
height: 25px;
margin-bottom: 10px; margin-bottom: 10px;
} }
@ -50,6 +49,8 @@ limitations under the License.
font-size: 14px; font-size: 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% - 48px); // Force word wrap instead of colliding with the switch
box-sizing: border-box;
padding-right: 10px;
} }
.mx_SettingsTab_section .mx_SettingsFlag .mx_ToggleSwitch { .mx_SettingsTab_section .mx_SettingsFlag .mx_ToggleSwitch {