mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-12-18 01:00:52 +00:00
fix(mediawiki): 🐛 apply body styles to overlay outside of citizen-body
This should fix the incorrect line-height issue in VE preview. T347199
This commit is contained in:
parent
7702361402
commit
95c355d9b3
|
@ -606,6 +606,7 @@
|
|||
"+mediawiki.editfont.styles": "skinStyles/mediawiki/mediawiki.editfont.styles.less",
|
||||
"+mediawiki.interface.helpers.styles": "skinStyles/mediawiki/mediawiki.interface.helpers.styles.less",
|
||||
"+mediawiki.notification": "skinStyles/mediawiki/mediawiki.notification.less",
|
||||
"+mediawiki.page.ready": "skinStyles/mediawiki/teleportTarget.less",
|
||||
"+mediawiki.pager.styles": "skinStyles/mediawiki/mediawiki.pager.styles.less",
|
||||
"mediawiki.skinning.content.parsoid": [],
|
||||
"mediawiki.skinning.interface": [],
|
||||
|
|
12
skinStyles/mediawiki/teleportTarget.less
Normal file
12
skinStyles/mediawiki/teleportTarget.less
Normal file
|
@ -0,0 +1,12 @@
|
|||
/*
|
||||
* Apply styles from .citizen-body
|
||||
* T347199
|
||||
* TODO: Drop the body > selectors after we move to 1.43
|
||||
* and #mw-teleport-target are ready
|
||||
*/
|
||||
#mw-teleport-target,
|
||||
body > .oo-ui-windowManager,
|
||||
body > .ve-ui-overlay-global {
|
||||
font-size: var( --font-size-small );
|
||||
line-height: var( --line-height );
|
||||
}
|
Loading…
Reference in a new issue