Merge pull request #2616 from matrix-org/bwindels/settingstoggle

Fix: dont assume settings label only has one line
This commit is contained in:
Bruno Windels 2019-02-13 09:17:03 +01:00 committed by GitHub
commit 27a5211239
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,6 @@ limitations under the License.
.mx_SettingsTab_section .mx_SettingsFlag {
margin-right: 100px;
height: 25px;
margin-bottom: 10px;
}
@ -50,6 +49,8 @@ limitations under the License.
font-size: 14px;
color: $primary-fg-color;
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 {