Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions web/packages/common/src/components/DataView/StudioDataView.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,17 @@
& th {
display: flex;
align-items: center;
&[data-pinned] {
justify-content: center;
}
}

/* Pinned cells hold a single control (select checkbox, row-actions menu).
Both th and td need flex centering: `justify-items`/`text-align` below
are inert on a block-level td, which left-aligns the row checkbox while
the flex header centers the select-all checkbox. */
& th[data-pinned],
& td[data-pinned] {
display: flex;
align-items: center;
justify-content: center;
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Outdated
}

/* Pinned columns: stay at configured size, don't grow */
Expand Down
Loading