Skip to content

Commit

Permalink
fix(mediawiki): 🐛 fix hidden MW version in Special:Version
Browse files Browse the repository at this point in the history
  • Loading branch information
alistair3149 committed Dec 24, 2024
1 parent 576bcb6 commit 4fc1847
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions skinStyles/mediawiki/special/mediawiki.special.less
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@
text-align: center;
border: var( --border-width-base ) solid var( --border-color-base );
border-radius: var( --border-radius-medium );

&:first-child {
display: none; // Hide table header
}
}

td {
Expand All @@ -64,6 +60,20 @@
font-weight: var( --font-weight-semi-bold );
}
}

// MW 1.43+ - Remove when we drop 1.39
&:has( thead ) {
thead tr {
// Hide table header
display: none;
}
}

&:not( :has( thead ) ) {
tbody tr:first-child {
display: none;
}
}
}

.citizen-overflow-wrapper:has( #sv-software ) {
Expand Down

0 comments on commit 4fc1847

Please sign in to comment.