Skip to content

Commit ad1e32f

Browse files
authored
Merge pull request #639 from devforth/feature/AdminForth/1674/upadate-style-in-listpagesizeo
fix: update af-page-size-btn style
2 parents e3f64c0 + 5e6d873 commit ad1e32f

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

adminforth/spa/src/afcl/Select.vue

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,13 @@
1010
v-model="search"
1111
@click="inputClick"
1212
@input="inputInput"
13-
class="block w-full pl-3 pr-10 py-2.5 border border-lightDropownButtonsBorder rounded-md leading-5 bg-lightDropdownButtonsBackground
14-
placeholder-lightDropdownButtonsPlaceholderText text-lightDropdownButtonsText sm:text-sm transition duration-150 ease-in-out dark:bg-darkDropdownButtonsBackground dark:border-darkDropdownButtonsBorder dark:placeholder-darkDropdownButtonsPlaceholderText
15-
dark:text-darkDropdownButtonsText focus:ring-lightPrimary focus:border-lightPrimary dark:focus:ring-darkPrimary dark:focus:border-darkPrimary"
13+
class="af-page-size-btn block w-full h-[34px] pl-3 pr-10 py-2 text-left
14+
text-sm font-medium transition-all border outline-none rounded-default
15+
bg-lightListViewButtonBackground text-lightListViewButtonText border-lightListViewButtonBorder
16+
placeholder-lightDropdownButtonsPlaceholderText dark:placeholder-darkDropdownButtonsPlaceholderText
17+
dark:bg-darkListViewButtonBackground dark:text-darkListViewButtonText dark:border-darkListViewButtonBorder
18+
dark:hover:text-darkListViewButtonTextHover dark:hover:bg-darkListViewButtonBackgroundHover
19+
hover:bg-lightListViewButtonBackgroundHover hover:text-lightListViewButtonTextHover"
1620
:class="[{'cursor-pointer': searchDisabled}, classesForInput]"
1721
autocomplete="off" data-custom="no-autofill"
1822
:placeholder="
@@ -32,7 +36,7 @@
3236

3337
<div class="absolute inset-y-0 right-2 flex items-center pointer-events-none">
3438
<!-- triangle icon -->
35-
<IconCaretDownSolid class="h-5 w-5 text-lightPrimary dark:text-darkPrimary opacity-50 transition duration-150 ease-in"
39+
<IconCaretDownSolid class="h-4 w-4 text-lightPrimary dark:text-darkPrimary opacity-50 transition duration-150 ease-in"
3640
:class="{ 'transform rotate-180': showDropdown }"
3741
/>
3842
</div>

0 commit comments

Comments
 (0)