Proof of concept for a flair tab in user settings

This commit is contained in:
Travis Ralston 2019-01-25 15:35:32 -07:00
parent 2061ce2dbf
commit 57e45e7e7c
7 changed files with 79 additions and 65 deletions

View file

@ -44,3 +44,8 @@ limitations under the License.
.mx_UserSettingsDialog_labsIcon:before {
mask-image: url('$(res)/img/feather-icons/flag.svg');
}
.mx_UserSettingsDialog_flairIcon:before {
// TODO: Use the real icon
mask-image: url('$(res)/img/feather-icons/flag.svg');
}

View file

@ -20,19 +20,8 @@ limitations under the License.
margin: 8px;
}
.mx_GroupPublicity_toggle > label {
display: flex;
align-items: flex-start;
}
.mx_GroupPublicity_toggle > label,
.mx_GroupPublicity_toggle .mx_GroupTile {
width: 50%;
}
.mx_GroupPublicity_toggle input {
margin-right: 8px;
vertical-align: -4px;
width: calc(100% - 60px); // 48px switch + some padding
}
.mx_GroupPublicity_toggle .mx_GroupTile {
@ -40,3 +29,7 @@ limitations under the License.
align-items: flex-start;
cursor: pointer;
}
.mx_GroupPublicity_toggle .mx_ToggleSwitch {
float: right;
}