mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 06:13:54 +00:00
Merge "Restore section edit link styles"
This commit is contained in:
commit
f38f448712
|
@ -132,20 +132,17 @@ main {
|
|||
h2 {
|
||||
// Clear table of contents and any other floated elements in desktop Minerva.
|
||||
clear: left;
|
||||
}
|
||||
|
||||
.edit-page {
|
||||
/* stylelint-disable-next-line unit-disallowed-list */
|
||||
font-size: 1rem;
|
||||
// Only reveal section edit links in expanded section headings.
|
||||
// The .section-heading class is only present on mobile.
|
||||
.section-heading {
|
||||
.mw-editsection {
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
.collapsible-heading .edit-page {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.collapsible-heading.open-block {
|
||||
// Restrict to child so that child section edit links do not get revealed.
|
||||
.edit-page {
|
||||
&.open-block .mw-editsection,
|
||||
.client-nojs & .mw-editsection {
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue