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
mNo edit summary
Adjusted wikitable padding
 
(2 intermediate revisions by the same user not shown)
Line 651: Line 651:
}
}


/* File history */
/* Wikitable */
@media screen and (max-width: 1370px) {
/* Fix Vector-2022 issue that prevents tables from overflowing
   table.filehistory {
  while also retaining border-radius styling */
    max-width: 100%;
body:not(.ns-special) .wikitable {
     display: block;
   display: inline-block;
     overflow-x: auto;
  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;  
   }
   }
}
}