Refactor CSS to better use inherited naming

This commit is contained in:
Chris Hill-Scott
2018-11-09 15:37:37 +00:00
parent 8dc7e6e5f8
commit fb339a08a8
2 changed files with 15 additions and 10 deletions

View File

@@ -24,17 +24,22 @@
margin-top: $gutter;
}
.template-list-item,
.template-list-item-with-checkbox {
position: relative;
}
.template-list {
.template-list-item-with-checkbox {
&-item {
padding-left: $gutter * 2;
&-with-checkbox {
position: relative;
padding-left: $gutter * 2;
.multiple-choice {
position: absolute;
left: 0;
}
}
.multiple-choice {
position: absolute;
left: 0;
}
}