fix styles

This commit is contained in:
Andrew Croce 2018-10-18 08:48:00 -04:00
parent c4cc411953
commit 17d2331322

View File

@ -68,6 +68,24 @@
}
}
@mixin block-list-selectable-label {
margin: 0;
max-width: none;
display: flex;
flex-direction: row-reverse;
align-items: center;
justify-content: space-between;
&::before {
flex-shrink: 0;
margin-right: 0;
margin-left: $gap * 2;
}
&:hover {
color: $color-primary;
}
}
.block-list {
@include block-list;
@ -110,24 +128,14 @@
flex-direction: row-reverse;
> label {
margin: 0;
max-width: none;
display: flex;
flex-direction: row-reverse;
align-items: center;
justify-content: space-between;
&::before {
flex-shrink: 0;
margin-right: 0;
margin-left: $gap * 2;
}
&:hover {
color: $color-primary;
}
@include block-list-selectable-label;
}
}
> label {
@include block-list-selectable-label;
}
input:checked {
+ label {
color: $color-primary;