mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-12 09:57:16 +00:00
f0505e6dee
Add a new styles module. This module makes sure that the textarea is already properly styled (jumping lineheight bug) before we start the JS. Also hide the toolbar before it's styles have finished loading, so you don't see it being constructed on the fly. Move inline styling for the old toolbar into this stylesheet as well. Bug: 47708 Change-Id: I40bec0a24dbd295db301e7faefb93d8991981acb
27 lines
404 B
CSS
27 lines
404 B
CSS
/**
|
|
* CSS for WikiEditor
|
|
*/
|
|
|
|
form#editform {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
#wpSummary,
|
|
#wpSummaryLabel {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
#wpTextbox1 {
|
|
padding: 0;
|
|
line-height: 1.5em;
|
|
resize: vertical;
|
|
}
|
|
|
|
/* Hide the old toolbar until the wikiEditor toolbar is deemed not supported,
|
|
* hide the WikiEditor toolbar until it's css has loaded */
|
|
.wikiEditor-oldToolbar,
|
|
.wikiEditor-ui-toolbar {
|
|
display: none;
|
|
}
|