浏览代码

Apply border radius to tom-select on focus (#2189)

Co-authored-by: Paweł Kuna <[email protected]>
Abdelrhman Said 6 月之前
父节点
当前提交
473fa3850b
共有 2 个文件被更改,包括 11 次插入1 次删除
  1. 5 0
      .changeset/pink-bottles-rest.md
  2. 6 1
      core/scss/vendor/_tom-select.scss

+ 5 - 0
.changeset/pink-bottles-rest.md

@@ -0,0 +1,5 @@
+---
+"@tabler/core": patch
+---
+
+Apply border radius to `tom-select` on focus 

+ 6 - 1
core/scss/vendor/_tom-select.scss

@@ -13,6 +13,11 @@ $input-border-width: 1px;
   color: inherit;
 }
 
+.focus .ts-control {
+  border-radius: var(--#{$prefix}border-radius);
+}
+  
+
 .ts-control {
   color: inherit;
 
@@ -75,4 +80,4 @@ $input-border-width: 1px;
   &> div.item {
     color: var(--#{$prefix}gray-500);
   }
-}
+}