Implement labs tab in new user settings

This commit is contained in:
Travis Ralston 2019-01-23 17:32:27 -07:00
parent 2a9f6186d7
commit f1c1caac62
7 changed files with 130 additions and 40 deletions

View file

@ -65,7 +65,7 @@ limitations under the License.
mask-repeat: no-repeat;
mask-size: 14px;
width: 14px;
height: 14px;
height: 15px;
mask-position: center;
content: '';
vertical-align: middle;

View file

@ -60,4 +60,8 @@
.mx_UserSettingsDialog_helpIcon:before {
mask-image: url('$(res)/img/feather-icons/help-circle.svg');
}
}
.mx_UserSettingsDialog_labsIcon:before {
mask-image: url('$(res)/img/feather-icons/flag.svg');
}

View file

@ -48,6 +48,7 @@ limitations under the License.
display: inline-block;
font-size: 12px;
color: $primary-fg-color;
max-width: calc(100% - 48px); // Force word wrap instead of colliding with the switch
}
.mx_SettingsTab_section .mx_SettingsFlag .mx_ToggleSwitch {