MediaWiki:Vector-2022.css: Difference between revisions
MediaWiki interface page
More actions
mNo edit summary |
Fixed Vector-2022 issue that prevented tables from overflowing while also retaining border-radius styling |
||
| Line 651: | Line 651: | ||
} | } | ||
/* | /* Wikitable */ | ||
/* Fix Vector-2022 issue that prevents tables from overflowing | |||
while also retaining border-radius styling */ | |||
body:not(.ns-special) .wikitable { | |||
display: inline-block; | |||
max-width: 100%; | max-width: 100%; | ||
overflow-x: auto; | overflow-x: auto; | ||
overflow-y: hidden; | |||
background: transparent; | |||
border: none !important; | |||
border-collapse: separate !important; | |||
border-spacing: 0 !important; | |||
border-radius: 10px; | |||
clip-path: inset(0 round 10px); | |||
} | } | ||