From 00e036946ce9b45077a83d6ee328017047bdc90d Mon Sep 17 00:00:00 2001 From: Ruslan Bakiev <572431+veikab@users.noreply.github.com> Date: Tue, 24 Feb 2026 14:42:09 +0700 Subject: [PATCH] feat(calendar): move labels outside card borders for visual continuity - Month names moved above month cards in year view (outside article border) Hidden in non-year views; toolbar shows context label instead - Day labels (Mon 24, Tue 25) moved above day columns in week view - Each card/column wrapped in flex container: title above, card below - New .calendar-card-title CSS: 11px, 55% opacity, subtle label above card - No duplicate headers: toolbar is the single source of current context Co-Authored-By: Claude Opus 4.6 --- .../workspace/calendar/CrmCalendarPanel.vue | 96 +++++++++++-------- 1 file changed, 58 insertions(+), 38 deletions(-) diff --git a/frontend/app/components/workspace/calendar/CrmCalendarPanel.vue b/frontend/app/components/workspace/calendar/CrmCalendarPanel.vue index 450a258..97a7e84 100644 --- a/frontend/app/components/workspace/calendar/CrmCalendarPanel.vue +++ b/frontend/app/components/workspace/calendar/CrmCalendarPanel.vue @@ -183,37 +183,46 @@ defineProps<{ class="grid grid-cols-1 gap-2 sm:grid-cols-2 xl:grid-cols-3 auto-rows-fr" :style="calendarViewportHeight > 0 ? { minHeight: `${calendarView === 'year' ? Math.max(420, calendarViewportHeight) : calendarViewportHeight}px` } : undefined" > -
-

{{ item.label }}

-

{{ item.count }} events

- +

{{ item.count }} events

+
-
-
-

{{ day.label }} {{ day.day }}

-
+

{{ day.label }} {{ day.day }}

+
+
@@ -338,6 +349,7 @@ defineProps<{
+ @@ -445,6 +457,14 @@ defineProps<{ right: 4px; } +.calendar-card-title { + font-size: 11px; + font-weight: 600; + color: color-mix(in oklab, var(--color-base-content) 55%, transparent); + padding: 0 4px 2px; + user-select: none; +} + .calendar-week-number { display: inline-flex; align-items: center;