From 8ec762d6221c881d90fd0b217562ac5ed04673db Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Sun, 29 Dec 2024 11:27:57 +0530 Subject: [PATCH 1/3] fix: have more padding on right and trucnate in select control --- src/components/Select.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/Select.vue b/src/components/Select.vue index c47269e9..d6d5f612 100644 --- a/src/components/Select.vue +++ b/src/components/Select.vue @@ -108,10 +108,10 @@ const fontSizeClasses = computed(() => { const paddingClasses = computed(() => { return { - sm: 'px-2', - md: 'px-2.5', - lg: 'px-3', - xl: 'px-3', + sm: 'pl-2 pr-5', + md: 'pl-2.5 pr-5.5', + lg: 'pl-3 pr-6', + xl: 'pl-3 pr-6', }[props.size] }) @@ -146,7 +146,7 @@ const selectClasses = computed(() => { paddingClasses.value, variantClasses, textColor.value, - 'transition-colors w-full py-0', + 'transition-colors w-full py-0 truncate', ] }) From c348f474cd185a0d535deb2ebde28c0b2ea40dda Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Sun, 29 Dec 2024 11:28:27 +0530 Subject: [PATCH 2/3] fix: use TextInput instead of Input component --- src/components/DatePicker/DatePicker.vue | 3 +-- src/components/DatePicker/DateRangePicker.vue | 3 +-- src/components/DatePicker/DateTimePicker.vue | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/components/DatePicker/DatePicker.vue b/src/components/DatePicker/DatePicker.vue index 94b6dec4..c2d1055c 100644 --- a/src/components/DatePicker/DatePicker.vue +++ b/src/components/DatePicker/DatePicker.vue @@ -5,7 +5,7 @@ :placement="placement" >