From be8b0e8d069d222df100dce050d52067a6fec1ce Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Tue, 20 Aug 2019 22:13:00 +0200 Subject: [PATCH] Refactor SCSS to better match upstream --- .../glitch/styles/components/composer.scss | 26 +++++++------------ 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/app/javascript/flavours/glitch/styles/components/composer.scss b/app/javascript/flavours/glitch/styles/components/composer.scss index 830189a5b20..9e610bac46d 100644 --- a/app/javascript/flavours/glitch/styles/components/composer.scss +++ b/app/javascript/flavours/glitch/styles/components/composer.scss @@ -326,30 +326,24 @@ } .autosuggest-textarea__suggestions__item { - display: flex; - flex-direction: row; - align-items: center; - justify-content: flex-start; - border-radius: 4px; padding: 10px; - font-size: 14px; - line-height: 18px; - overflow: hidden; cursor: pointer; + border-radius: 4px; &:hover, &:focus, &:active, &.selected { background: darken($ui-secondary-color, 10%) } - & > .emoji { - img { - display: block; - float: left; - margin-right: 8px; - width: 18px; - height: 18px; - } + > .account, + > .emoji, + > .autosuggest-hashtag { + display: flex; + flex-direction: row; + align-items: center; + justify-content: flex-start; + line-height: 18px; + font-size: 14px; } .autosuggest-hashtag {