MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Tag: Reverted
Line 1,618:
border: 1px solid var(--border-color-base, #a2a9b1);
}
}
 
/* Enable horizontal scrolling wrapper for wide tables */
.sticky-table-wrapper {
overflow-x: auto;
}
 
/* Force table layout to prevent Vector 2022 block-display override */
table.sticky-first-column {
display: table !important;
white-space: nowrap;
}
 
/* Make the first column sticky and give it a solid background */
table.sticky-first-column tr th:first-child,
table.sticky-first-column tr td:first-child {
position: sticky;
left: 0;
z-index: 1;
background-color: #fff; /* Solid white background for data cells */
}
 
/* Give the top-left header cell a higher z-index and standard header color */
table.sticky-first-column tr th:first-child {
z-index: 2;
background-color: #eaecf0;
}