css: Use SCSS nesting for '.hashtag' in left-sidebar.scss

This commit is contained in:
shubhamgupta2956 2020-03-19 19:31:07 +05:30 committed by Tim Abbott
parent eb9a252ec9
commit d99b0cf7f5
1 changed files with 9 additions and 8 deletions

View File

@ -12,9 +12,15 @@ $topic_indent: calc($far_left_gutter_size + $left_col_size + 4px);
display: none;
}
.hashtag:empty::after {
font-size: 18px;
font-weight: 800;
.hashtag {
&:empty {
&::after {
content: "#";
line-height: 0;
font-size: 18px;
font-weight: 800;
}
}
}
.stream-privacy {
@ -73,11 +79,6 @@ li.show-more-topics {
margin-right: 10px;
}
.hashtag:empty::after {
content: "#";
line-height: 0;
}
.tooltip {
max-width: 18em;
}