Steps to replicate the issue (include links if applicable):
- Pick any article in hewiki that have headers of h2 level, and apply minerva skin. Example https://he.wikipedia.org/wiki/%D7%91%D7%A0%D7%99_%D7%90%D7%9C%D7%93%D7%A8?safemode=1&useformat=desktop&useskin=minerva
- Resize to mobile resolution
What happens?:
- The edit buttons collapse into the the title.
- Notes: I don't observe the issue on H3 level headers. Not able to reproduce it in enwiki (LTR wiki) and urwiki (RTL wiki)
It seems to come from this CSS https://he.wikipedia.org/w/load.php?debug=2&lang=he&modules=mobile.init.styles&only=styles&skin=minerva&version=ztntf which seems to exists also in uriwki:
.client-js body:not( .mf-collapsible-sections ):not( .mf-collapsible-sections-disabled ) .mw-parser-output[data-mw-parsoid-version] > section > .mw-heading:not( .mf-collapsible-heading ),
.client-js body.mf-collapsible-sections .mw-parser-output[data-mw-parsoid-version] > section > .mw-heading:not( .mf-collapsible-heading )::before {
content: '';
display: block;
width: 16px;
height: 16px;
margin-left: 6px;
}What should have happened instead?:
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):


