Auto-save: Updated components/timeshift-spreadsheet.tsx

Auto-saved at 2025-07-29 14:35:46

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Docker Config Backup
2025-07-29 14:35:46 +02:00
parent fb86c59413
commit e44e1ffb8a
4 changed files with 117 additions and 0 deletions

View File

@@ -240,6 +240,12 @@ export function TimeshiftSpreadsheet({ teamId, teamName }: TimeshiftSpreadsheetP
// Generate styles for day/night shifts based on the Excel pattern
const styles: Record<string, string> = {}
if (selectedMonth && selectedYear) {
// Make first row (row 1) taller - 97px
for (let col = 0; col < (data[0]?.length || 0); col++) {
const colLetter = getExcelColumnName(col)
styles[`${colLetter}1`] = "height: 97px;"
}
// Make day names row (row 2) taller
for (let col = 0; col < (data[0]?.length || 0); col++) {
const colLetter = getExcelColumnName(col)