Просмотр исходного кода

Merge pull request #3544 from fk/3306-clear-button-appears-under-long-text

#3306: Position clear button before the inline content of `.select2-selection__rendered`
Kevin Brown 9 лет назад
Родитель
Сommit
d0ce218c0b
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      src/scss/_single.scss

+ 4 - 0
src/scss/_single.scss

@@ -18,6 +18,10 @@
     text-overflow: ellipsis;
     white-space: nowrap;
   }
+
+  .select2-selection__clear {
+    position: relative;
+  }
 }
 
 &[dir="rtl"] {