]> cat aescling's git repositories - mastodon.git/commitdiff
Refactor SCSS to better match upstream
authorThibaut Girka <thib@sitedethib.com>
Tue, 20 Aug 2019 20:13:00 +0000 (22:13 +0200)
committerThibG <thib@sitedethib.com>
Mon, 2 Sep 2019 08:57:44 +0000 (10:57 +0200)
app/javascript/flavours/glitch/styles/components/composer.scss

index 830189a5b20794dc6ebc337db9acad736f0c929e..9e610bac46d3f734c570eeb062b7afd7b794f68e 100644 (file)
 }
 
 .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 {