MediaWiki:Vector-2022.css: Difference between revisions
MediaWiki interface page
More actions
Additional fix for noarticletext preload table |
Adjusted wikitable to fix space issue |
||
| Line 604: | Line 604: | ||
/* Ensure tables overflow while also retaining border-radius styling */ | /* Ensure tables overflow while also retaining border-radius styling */ | ||
body:not(.ns-special) .wikitable { | body:not(.ns-special) .wikitable { | ||
display: | display: block; | ||
max-width: | max-width: max-content; | ||
overflow-x: auto; | overflow-x: auto; | ||
overflow-y: hidden; | overflow-y: hidden; | ||
background: transparent; | background: transparent; | ||
border: none !important; | border: none !important; | ||
border-collapse: | border-collapse: collapse; | ||
border-spacing: 0 !important; | border-spacing: 0 !important; | ||
border-radius: 10px; | border-radius: 10px; | ||
th { | th { | ||
| Line 628: | Line 627: | ||
.noarticletext.mw-content-ltr .wikitable, | .noarticletext.mw-content-ltr .wikitable, | ||
.mw-newarticletext.plainlinks .wikitable { | .mw-newarticletext.plainlinks .wikitable { | ||
.mw-collapsible-toggle::before { | .mw-collapsible-toggle::before { | ||
margin-left: 0.5em; | margin-left: 0.5em; | ||