position: absolute has some really awkward results, especially with the
latest CSS align spec changes.
border-radius: 0;
display: flex;
height: 50px;
- padding: 6px 28px 6px 10px;
-
- &::after {
- right: 10px;
- }
+ padding: 6px 10px;
&:hover {
background-color: rgba(0, 0, 0, .4);
max-width: 200px;
min-width: 140px;
overflow: hidden;
- padding: 4px 24px 4px 8px;
+ padding: 4px 8px;
position: relative;
text-align: left;
text-overflow: ellipsis;
&::after {
color: inherit;
content: $fa-var-caret-down;
+ flex: 1;
font-family: FontAwesome;
- position: absolute;
- right: 8px;
+ margin-left: 10px;
+ text-align: right;
}
}