Skip to content

Commit 4ab9b17

Browse files
authored
fix: remove .btn-close icon when having text (#183)
1 parent aa2e564 commit 4ab9b17

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/assets/scss/utils/_utility.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010
visibility: hidden;
1111
}
1212

13+
.btn-close:not(:has(i, svg, .icon)) {
14+
--bs-btn-close-bg: transparent;
15+
width: auto;
16+
}
17+
1318
@each $name, $pair in $theme-colors {
1419
.variant-#{$name} > .btn-close {
1520
@extend .btn-close-white;

0 commit comments

Comments
 (0)