Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Vector-2022.css: Difference between revisions

MediaWiki interface page
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: inline-block;
     display: block;
     max-width: 100%;
     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: separate !important;
     border-collapse: collapse;
     border-spacing: 0 !important;
     border-spacing: 0 !important;
     border-radius: 10px;
     border-radius: 10px;
    clip-path: inset(0 round 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 {
    display: revert;
    max-width: fit-content;
   
     .mw-collapsible-toggle::before {
     .mw-collapsible-toggle::before {
         margin-left: 0.5em;
         margin-left: 0.5em;