From 74223d6823b67172f053ea9fe105c6b20799db8c Mon Sep 17 00:00:00 2001 From: DarkPhoenix2704 Date: Wed, 27 Nov 2024 10:36:23 +0000 Subject: [PATCH] fix: some fixes --- .../components/smartsheet/calendar/RecordCard.vue | 12 +++++++++--- .../components/smartsheet/calendar/VRecordCard.vue | 9 +++++++-- .../smartsheet/calendar/WeekView/DateTimeField.vue | 7 +++---- 3 files changed, 19 insertions(+), 9 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/calendar/RecordCard.vue b/packages/nc-gui/components/smartsheet/calendar/RecordCard.vue index 8019a9d3bd..5bfdbe6250 100644 --- a/packages/nc-gui/components/smartsheet/calendar/RecordCard.vue +++ b/packages/nc-gui/components/smartsheet/calendar/RecordCard.vue @@ -31,7 +31,7 @@ const emit = defineEmits(['resize-start']) 'h-full': size === 'auto', 'rounded-l-[4px] !border-r-0 ml-1': position === 'leftRounded', 'rounded-r-[4px] !border-l-0 mr-1': position === 'rightRounded', - 'rounded-[4px] mx-1': position === 'rounded', + 'rounded-[4px] ml-0.8 mr-1': position === 'rounded', 'rounded-none !border-x-0': position === 'none', 'bg-maroon-50': color === 'maroon', 'bg-blue-50': color === 'blue', @@ -40,6 +40,7 @@ const emit = defineEmits(['resize-start']) 'bg-pink-50': color === 'pink', 'bg-purple-50': color === 'purple', 'bg-white border-gray-300': color === 'gray', + '!bg-nc-bg-gray-light': hover || dragging, }" :style="{ boxShadow: @@ -76,9 +77,14 @@ const emit = defineEmits(['resize-start']) :class="{ 'pr-7': position === 'leftRounded', }" - class="flex mb-0.5 overflow-x-hidden break-word whitespace-nowrap overflow-hidden text-ellipsis w-full truncate text-ellipsis flex-col gap-1" + class="flex mb-0.5 overflow-x-hidden w-full truncate flex-col gap-1" > - +