about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-08-20 22:13:00 +0200
committerThibG <thib@sitedethib.com>2019-09-02 10:57:44 +0200
commitbe8b0e8d069d222df100dce050d52067a6fec1ce (patch)
tree9e98f9898c9a388a2137aab92e40fbfc89dddd17 /app
parent3380e964497945a5e81012eee3ec65917ac0ade0 (diff)
Refactor SCSS to better match upstream
Diffstat (limited to 'app')
-rw-r--r--app/javascript/flavours/glitch/styles/components/composer.scss26
1 files 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 830189a5b..9e610bac4 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 {