Fix bracket gap and right-side alignment for overdue checkout
- Trim bracket to 42px (from 46px) to restore 4px gap between bracket and card - Remove margin-right override so spans-next/normal rules handle the right edge correctly (was causing a gap on cards with data-spans-next="true") Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
d5492a0152
commit
35a3f0044e
1 changed files with 5 additions and 6 deletions
|
|
@ -487,21 +487,20 @@ html, body, #root {
|
|||
letter-spacing: .04em;
|
||||
}
|
||||
|
||||
/* Overdue checkout today: card shifts right by 23px (margin-left 46px) so the
|
||||
wider bracket sits cleanly in that space rather than overlapping the card.
|
||||
margin-right stays normal — the 23px extra left margin is the compensation. */
|
||||
/* Overdue checkout today: card shifts 23px right (margin-left: 46px) so the
|
||||
wider bracket sits cleanly in the left margin with a 4px gap to the card.
|
||||
No margin-right override — spans-next and normal rules handle the right side. */
|
||||
.room-card.has-overdue-checkout {
|
||||
margin-left: 46px;
|
||||
margin-right: 23px;
|
||||
}
|
||||
.room-card.has-overdue-checkout[data-previous-status]::before {
|
||||
left: -46px;
|
||||
width: 46px;
|
||||
width: 42px;
|
||||
background: rgba(59, 130, 246, 0.1);
|
||||
}
|
||||
.room-card.has-overdue-checkout .card-sliver-depart {
|
||||
left: -46px;
|
||||
width: 46px;
|
||||
width: 42px;
|
||||
font-weight: 700;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue