Condense CSS rules and use box-sizing instead of math

pull/21833/head
Travis Ralston 2019-01-28 20:26:03 -07:00
parent 3d59cf996f
commit 70b34aa2c3
1 changed files with 2 additions and 4 deletions

View File

@ -20,14 +20,12 @@ limitations under the License.
margin: 8px;
}
.mx_GroupPublicity_toggle .mx_GroupTile {
width: calc(100% - 60px); // 48px switch + some padding
}
.mx_GroupPublicity_toggle .mx_GroupTile {
display: flex;
align-items: flex-start;
cursor: pointer;
box-sizing: border-box;
width: 100%;
}
.mx_GroupPublicity_toggle .mx_ToggleSwitch {