Refactor SCSS to better match upstream

This commit is contained in:
Thibaut Girka 2019-08-20 22:13:00 +02:00 committed by ThibG
parent 3380e96449
commit be8b0e8d06

View file

@ -326,30 +326,24 @@
} }
.autosuggest-textarea__suggestions__item { .autosuggest-textarea__suggestions__item {
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-start;
border-radius: 4px;
padding: 10px; padding: 10px;
font-size: 14px;
line-height: 18px;
overflow: hidden;
cursor: pointer; cursor: pointer;
border-radius: 4px;
&:hover, &:hover,
&:focus, &:focus,
&:active, &:active,
&.selected { background: darken($ui-secondary-color, 10%) } &.selected { background: darken($ui-secondary-color, 10%) }
& > .emoji { > .account,
img { > .emoji,
display: block; > .autosuggest-hashtag {
float: left; display: flex;
margin-right: 8px; flex-direction: row;
width: 18px; align-items: center;
height: 18px; justify-content: flex-start;
} line-height: 18px;
font-size: 14px;
} }
.autosuggest-hashtag { .autosuggest-hashtag {