fix: Monatszelle am Monatswechsel nicht mehr vertikal zentriert
Mein voriges flex/align-center hat "1 JUN" in die Mitte der ganzen Zelle geschoben. Jetzt: Tageszahl bleibt oben links (wie alle Tage), Monatskürzel sitzt klein/dezent inline daneben (cell-day inline-flex + kleiner Marker). Version v38. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -149,7 +149,7 @@ export function renderMonth(container, currentDate, events, onDayClick, onEventC
|
||||
if (monthChangeIdx > 0 && idx < monthChangeIdx) dividerClasses.push('month-divider-bottom');
|
||||
const dividerCls = dividerClasses.join(' ');
|
||||
const monthLabel = isFirstOfMonth
|
||||
? `<div class="month-marker">${monthsShort[cell.getMonth()]}</div>`
|
||||
? `<span class="month-marker">${monthsShort[cell.getMonth()]}</span>`
|
||||
: '';
|
||||
colsHtml += `<div class="month-col ${todayCls} ${otherCls} ${selectedCls} ${firstCls} ${dividerCls}" data-date="${key}">
|
||||
<div class="cell-day ${numCls}">${cell.getDate()}</div>
|
||||
|
||||
Reference in New Issue
Block a user