Task #751: remove remaining gap between sticky header and table
- Root cause: Tailwind v4 space-y-* applies margin-block-end on :not(:last-child) children (verified in tailwindcss 4.2.1 dist), so #749's !mt-0 on the table wrapper had no effect — the 1rem gap came from margin-bottom on the floating header itself. - executive-meetings.tsx: added !mb-0 to em-sticky-thead div; kept !mt-0 on the wrapper as a harmless safeguard. - Header (border-t/x, no bottom) now sits flush on the table's border-2 top → single 2px seam. Sticky/translateX/print untouched. - tx-os tsc clean; architect review passed.
This commit is contained in:
@@ -3169,7 +3169,7 @@ function ScheduleSection({
|
|||||||
paginated output. */}
|
paginated output. */}
|
||||||
<div
|
<div
|
||||||
data-testid="em-sticky-thead"
|
data-testid="em-sticky-thead"
|
||||||
className="sticky z-[6] overflow-hidden bg-white border-x-2 border-t-2 border-[#0B1E3F] shadow-[0_4px_6px_-4px_rgba(11,30,63,0.15)] print:hidden"
|
className="sticky z-[6] !mb-0 overflow-hidden bg-white border-x-2 border-t-2 border-[#0B1E3F] shadow-[0_4px_6px_-4px_rgba(11,30,63,0.15)] print:hidden"
|
||||||
style={{
|
style={{
|
||||||
top: "calc(var(--em-header-h, 0px) + var(--em-heading-h, 0px))",
|
top: "calc(var(--em-header-h, 0px) + var(--em-heading-h, 0px))",
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user