From 334e5cf860ed94a03c4ed9ff0ba6278a308d1693 Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Fri, 17 May 2024 14:36:01 +0530 Subject: [PATCH] fix: additional padding in select cell (#8507) Co-authored-by: DarkPhoenix2704 --- packages/nc-gui/components/nc/Select.vue | 2 +- .../nc-gui/components/smartsheet/toolbar/Calendar/Mode.vue | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/nc-gui/components/nc/Select.vue b/packages/nc-gui/components/nc/Select.vue index 61cee55d5a..553501fee6 100644 --- a/packages/nc-gui/components/nc/Select.vue +++ b/packages/nc-gui/components/nc/Select.vue @@ -84,7 +84,7 @@ const onChange = (value: string) => { height: fit-content; .ant-select-selector { box-shadow: 0px 5px 3px -2px rgba(0, 0, 0, 0.02), 0px 3px 1px -2px rgba(0, 0, 0, 0.06); - @apply border-1 border-gray-200 rounded-lg !px-3; + @apply border-1 border-gray-200 rounded-lg; } .ant-select-selection-item { diff --git a/packages/nc-gui/components/smartsheet/toolbar/Calendar/Mode.vue b/packages/nc-gui/components/smartsheet/toolbar/Calendar/Mode.vue index a7cd09a0b9..ff6115b91f 100644 --- a/packages/nc-gui/components/smartsheet/toolbar/Calendar/Mode.vue +++ b/packages/nc-gui/components/smartsheet/toolbar/Calendar/Mode.vue @@ -87,6 +87,11 @@ watch(activeCalendarView, () => { @apply !text-[13px]; } } +.nc-select.ant-select { + .ant-select-selector { + @apply !px-3; + } +} .tab { @apply flex items-center h-7 w-14 z-10 justify-center px-2 py-1 rounded-lg gap-x-1.5 text-gray-500 hover:text-black cursor-pointer transition-all duration-300 select-none;