navbar: Refactor >:nth-last-child(2) style to use scss nesting.

This commit is contained in:
YashRE42
2020-06-27 01:40:32 +00:00
committed by Tim Abbott
parent 87c9d527ef
commit 437b9a1a90

View File

@@ -1618,13 +1618,11 @@ div.focused_table {
// elements take up the entirety of the white space.
> :nth-last-child(2) {
flex-grow: 1;
}
// We extend the clickable area for the search_closed icon over the
// 2nd last navbar element for better design (user convenience) this
// selector makes it so mousing over that element also gives the user
// a visual cue about the results of clicking the element
> :nth-last-child(2) {
// We extend the clickable area for the search_closed icon over the
// 2nd last navbar element for better design (user convenience) this
// selector makes it so mousing over that element also gives the user
// a visual cue about the results of clicking the element
cursor: pointer;
&:hover + .search_closed {
color: hsl(0, 0%, 0%);