Kaynağa Gözat

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 yıl önce
ebeveyn
işleme
d0ce218c0b
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  1. 4 0
      src/scss/_single.scss

+ 4 - 0
src/scss/_single.scss

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