Condense CSS rules and use box-sizing instead of math
parent
3d59cf996f
commit
70b34aa2c3
|
@ -20,14 +20,12 @@ limitations under the License.
|
||||||
margin: 8px;
|
margin: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_GroupPublicity_toggle .mx_GroupTile {
|
|
||||||
width: calc(100% - 60px); // 48px switch + some padding
|
|
||||||
}
|
|
||||||
|
|
||||||
.mx_GroupPublicity_toggle .mx_GroupTile {
|
.mx_GroupPublicity_toggle .mx_GroupTile {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
box-sizing: border-box;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_GroupPublicity_toggle .mx_ToggleSwitch {
|
.mx_GroupPublicity_toggle .mx_ToggleSwitch {
|
||||||
|
|
Loading…
Reference in New Issue