Browse Source

fix(nc-gui): minor ui corrections

pull/7753/head
DarkPhoenix2704 10 months ago
parent
commit
b77984adb6
  1. 2
      packages/nc-gui/components/smartsheet/calendar/RecordCard.vue
  2. 2
      packages/nc-gui/components/smartsheet/calendar/SideMenu.vue
  3. 2
      packages/nc-gui/components/smartsheet/calendar/VRecordCard.vue

2
packages/nc-gui/components/smartsheet/calendar/RecordCard.vue

@ -39,7 +39,7 @@ const emit = defineEmits(['resize-start'])
'bg-pink-50': color === 'pink', 'bg-pink-50': color === 'pink',
'bg-purple-50': color === 'purple', 'bg-purple-50': color === 'purple',
'group-hover:(border-brand-500 border-1)': resize, 'group-hover:(border-brand-500 border-1)': resize,
'!border-brand-500 border-1': selected, '!border-blue-200 border-1': selected,
'shadow-md': hover, 'shadow-md': hover,
}" }"
class="relative transition-all flex items-center px-1 group border-1 border-transparent" class="relative transition-all flex items-center px-1 group border-1 border-transparent"

2
packages/nc-gui/components/smartsheet/calendar/SideMenu.vue

@ -349,7 +349,7 @@ onUnmounted(() => {
</template> </template>
</a-input> </a-input>
<NcSelect v-model:value="sideBarFilterOption" class="min-w-38 !text-gray-800" data-testid="nc-calendar-sidebar-filter"> <NcSelect v-model:value="sideBarFilterOption" class="min-w-38 !text-gray-800" data-testid="nc-calendar-sidebar-filter">
<a-select-option v-for="option in options" :key="option.value" :value="option.value" class="!text-gray-800"> <a-select-option v-for="option in options" :key="option.value" :value="option.value" class="!text-gray-600">
<div class="flex items-center justify-between gap-2"> <div class="flex items-center justify-between gap-2">
<div class="truncate flex-1"> <div class="truncate flex-1">
<NcTooltip :title="option.label" placement="top" show-on-truncate-only> <NcTooltip :title="option.label" placement="top" show-on-truncate-only>

2
packages/nc-gui/components/smartsheet/calendar/VRecordCard.vue

@ -49,7 +49,7 @@ const emit = defineEmits(['resize-start'])
'bg-pink-50': color === 'pink', 'bg-pink-50': color === 'pink',
'bg-purple-50': color === 'purple', 'bg-purple-50': color === 'purple',
'group-hover:(border-brand-500)': resize, 'group-hover:(border-brand-500)': resize,
'!border-brand-500 border-1': selected, '!border-blue-200 border-1': selected,
'shadow-md': hover, 'shadow-md': hover,
}" }"
class="relative flex items-center h-full ml-0.25 border-1 border-transparent" class="relative flex items-center h-full ml-0.25 border-1 border-transparent"

Loading…
Cancel
Save