I have a CSS rule that displays a line within a div only when the div is active. The specific SCSS class I am using is:
.active-tab:after {
content: '';
display: inline-block;
height: 4px;
width: 100px;
right: -7px;
background-color: $primary;
}
The visual outcome looks like this:
https://i.sstatic.net/Xc3FI.png
My desired effect is for the line to always stick to the bottom, regardless of the text size.