MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
Tag: Manual revert
No edit summary
Line 2,028:
.rt-status-redo { background: #faf0dc; color: #8a5300; }
 
/* Datacheck review tables (namespace ns-3006) FITOVERFLOW therather viewportthan fit. noThe horizontalModule scrollwraps toevery reachtable thein actiona
<div style="overflow-x:auto">, so we let the review table keep its natural .fintable column widths and
buttons. The cause of the scroll is the col-* / fintable min-width floors (col-l=15em, data col=6em,
scroll horizontally instead of crushing every column to fit the (high-DPI, ~1120px) viewport. The first
first col=16em) summing past the viewport; clearing them (min-width:0) lets AUTO table layout shrink each
column (Term) therefore stays FROZEN — sticky, via the .fintable bundle — so the item name is always
column to its content and wrap. We deliberately do NOT use table-layout:fixed or overflow-wrap:anywhere —
visible while you scroll the data columns; the Validate/Redo/Status controls sit right after it (Module:
those collapse the un-sized Term/Status columns and break short words ("Term" -> T/e/r/m). Scoped to the
TermMap column order), reachable at the left scroll position. No ns-3006 table overrides are needed:
Datacheck namespace, so the public .fintable scroll behavior is unchanged everywhere else. */
default .fintable behavior IS what a wide review table wants — this comment is the only thing kept so a
.ns-3006 .wikitable th,
future reader knows the fit-to-viewport hack was removed deliberately, not lost. */
.ns-3006 .wikitable td {
min-width: 0 !important;
max-width: none !important;
white-space: normal !important;
/* !important is REQUIRED: the .fintable frozen first column sets overflow-wrap:anywhere at higher
specificity, which collapses the row-label column to ~1ch and breaks names vertically (T/e/r/m). */
overflow-wrap: break-word !important;
}
.ns-3006 .wikitable th:first-child,
.ns-3006 .wikitable td:first-child {
position: static !important; /* un-freeze: a sticky cell in a border-collapse table drops its */
box-shadow: none !important; /* borders (the fintable masks this with a --wt-rule box-shadow rail) — */
border-left: 1px solid var(--wt-rule) !important; /* so restore the left FRAME edge in --wt-rule, */
} /* matching the top/right/bottom edges (not the lighter inter-cell --wt-border). */
 
.rt-btn {