Skip to content

Commit

Permalink
fix width classes
Browse files Browse the repository at this point in the history
  • Loading branch information
madassdev committed Oct 3, 2024
1 parent faf0a24 commit 5fde9f6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion client/components/forms/PhoneInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
>
<v-select
v-model="selectedCountryCode"
class="w-[130px]"
:class="theme.PhoneInput.countrySelectWidth"
dropdown-class="max-w-[300px]"
input-class="rounded-r-none"
:data="countries"
Expand Down
15 changes: 15 additions & 0 deletions client/lib/forms/themes/form-themes.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ export const themes = {
}
},
PhoneInput: {
countrySelectWidth: {
sm: 'w-[100px]',
md: 'w-[120px]',
lg: 'w-[120px]'
},
flag: {
sm: '!-mt-[14px]',
md: '!-mt-[9px] rounded',
Expand Down Expand Up @@ -220,6 +225,11 @@ export const themes = {
}
},
PhoneInput: {
countrySelectWidth: {
sm: 'w-[100px]',
md: 'w-[120px]',
lg: 'w-[120px]'
},
flag: {
sm: '!-mt-[14px]',
md: '!-mt-[9px] rounded',
Expand Down Expand Up @@ -360,6 +370,11 @@ export const themes = {
}
},
PhoneInput: {
countrySelectWidth: {
sm: 'w-[100px]',
md: 'w-[120px]',
lg: 'w-[120px]'
},
flag: {
sm: '!-mt-[14px]',
md: '!-mt-[9px] rounded',
Expand Down

0 comments on commit 5fde9f6

Please sign in to comment.