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" > - +