MediaWiki:Vector-2022.css: Difference between revisions
MediaWiki interface page
More actions
Fixed Vector-2022 issue that prevented tables from overflowing while also retaining border-radius styling |
Adjusted wikitable padding |
||
| (One intermediate revision by the same user not shown) | |||
| Line 655: | Line 655: | ||
while also retaining border-radius styling */ | while also retaining border-radius styling */ | ||
body:not(.ns-special) .wikitable { | body:not(.ns-special) .wikitable { | ||
display: inline-block; | |||
max-width: 100%; | |||
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); | |||
th { | |||
padding-top: 0.5em; | |||
padding-bottom: 0.5em; | |||
padding-left: 0.75em; | |||
} | |||
td { | |||
padding: 0.25em 0.75em; | |||
} | |||
} | } | ||