css: Use SCSS nesting for `.float`.

This commit is contained in:
Siddharth Varshney 2020-05-25 02:32:25 +05:30 committed by Tim Abbott
parent 8317bde30f
commit b29b7b8da1
1 changed files with 10 additions and 8 deletions

View File

@ -89,16 +89,18 @@ ol a:hover {
align-items: center;
}
.float.left {
.float {
&.left {
float: left;
}
}
.float.right {
&.right {
float: right;
}
}
.float.clear {
&.clear {
clear: both;
}
}
.small {