Center D/S/A values and header in their column
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
087553054e
commit
74d8951fe2
1 changed files with 3 additions and 3 deletions
|
|
@ -470,7 +470,7 @@ function SummaryTable({ bookings, pickup, onPickupChange }: SummaryProps) {
|
||||||
borderLeft: '2px solid rgba(255,255,255,0.3)',
|
borderLeft: '2px solid rgba(255,255,255,0.3)',
|
||||||
}}>Rooms</th>
|
}}>Rooms</th>
|
||||||
<th key={d + '-d'} style={{
|
<th key={d + '-d'} style={{
|
||||||
fontSize: '0.72rem', fontWeight: 400, minWidth: '56px',
|
fontSize: '0.72rem', fontWeight: 400, minWidth: '56px', textAlign: 'center',
|
||||||
background: isWeekend(d) ? '#2a3d5e' : '#1e2d42',
|
background: isWeekend(d) ? '#2a3d5e' : '#1e2d42',
|
||||||
borderLeft: '1px solid rgba(255,255,255,0.1)',
|
borderLeft: '1px solid rgba(255,255,255,0.1)',
|
||||||
}}>D / S / A</th>
|
}}>D / S / A</th>
|
||||||
|
|
@ -561,7 +561,7 @@ function CatRows({ cat, dates, pickup, onPickupChange, isLast }: {
|
||||||
{/* Right cell: D / S / A */}
|
{/* Right cell: D / S / A */}
|
||||||
<td key={date + '-dsa'} style={{
|
<td key={date + '-dsa'} style={{
|
||||||
verticalAlign: 'middle', borderLeft: '1px solid var(--card-border)',
|
verticalAlign: 'middle', borderLeft: '1px solid var(--card-border)',
|
||||||
borderBottom: bbStyle, padding: '0.4rem 0.5rem 0.4rem 0.4rem', textAlign: 'right',
|
borderBottom: bbStyle, padding: '0.4rem 0.3rem', textAlign: 'center',
|
||||||
...(wknd ? { background: 'rgba(100,120,160,0.07)' } : {}),
|
...(wknd ? { background: 'rgba(100,120,160,0.07)' } : {}),
|
||||||
}}>
|
}}>
|
||||||
<div style={{ fontSize: '0.8rem', color: '#c2502e', fontWeight: 600 }}>
|
<div style={{ fontSize: '0.8rem', color: '#c2502e', fontWeight: 600 }}>
|
||||||
|
|
@ -628,7 +628,7 @@ function TotalRows({ dates, cats, pickup }: {
|
||||||
</td>
|
</td>
|
||||||
<td key={date + '-dsa'} style={{
|
<td key={date + '-dsa'} style={{
|
||||||
verticalAlign: 'middle', borderLeft: '1px solid var(--card-border)',
|
verticalAlign: 'middle', borderLeft: '1px solid var(--card-border)',
|
||||||
padding: '0.4rem 0.5rem 0.4rem 0.4rem', textAlign: 'right',
|
padding: '0.4rem 0.3rem', textAlign: 'center',
|
||||||
...(wknd ? { background: 'rgba(100,120,160,0.07)' } : {}),
|
...(wknd ? { background: 'rgba(100,120,160,0.07)' } : {}),
|
||||||
}}>
|
}}>
|
||||||
<div style={{ fontSize: '0.8rem', color: '#c2502e', fontWeight: 600 }}>
|
<div style={{ fontSize: '0.8rem', color: '#c2502e', fontWeight: 600 }}>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue