Skip to content

Commit f318878

Browse files
committed
Fixing append and prepend options
1 parent 06cb6aa commit f318878

8 files changed

+43
-13
lines changed

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ https://erimicel.github.io/select2-tailwindcss-theme/
1414

1515
## Current issues to be fixed
1616

17-
- [ ] Prepend and Append Styles
1817
- [ ] Fix height of multi select box
1918

2019
## 📦 Installation

dist/select2-tailwindcss-theme-plain.css

+13
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,19 @@
168168
padding-bottom: 0px
169169
}
170170

171+
/* Input groups */
172+
.input-group > * + select + .select2-container--tailwindcss-3 .select2-selection{
173+
border-top-left-radius: 0px;
174+
border-bottom-left-radius: 0px;
175+
border-left-width: 0px
176+
}
177+
178+
.input-group > .select2-container--tailwindcss-3:not(:last-child) .select2-selection{
179+
border-top-right-radius: 0px;
180+
border-bottom-right-radius: 0px;
181+
border-right-width: 0px
182+
}
183+
171184
/* Loading state */
172185
.select2-container--tailwindcss-3 .select2-results__option--loading{
173186
display: flex;

dist/select2-tailwindcss-theme-plain.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/select2-tailwindcss-theme.css

+9
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,15 @@
5959
@apply px-0 py-0;
6060
}
6161

62+
/* Input groups */
63+
.input-group > * + select + .select2-container--tailwindcss-3 .select2-selection {
64+
@apply rounded-l-none border-l-0;
65+
}
66+
67+
.input-group > .select2-container--tailwindcss-3:not(:last-child) .select2-selection {
68+
@apply rounded-r-none border-r-0;
69+
}
70+
6271
/* Loading state */
6372
.select2-container--tailwindcss-3 .select2-results__option--loading {
6473
@apply flex items-center justify-center py-4 text-gray-400;

dist/select2-tailwindcss-theme.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)