Refactor SCSS to better match upstream

master
Thibaut Girka 5 years ago committed by ThibG
parent 3380e96449
commit be8b0e8d06
  1. 26
      app/javascript/flavours/glitch/styles/components/composer.scss

@ -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 {

Loading…
Cancel
Save