mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-24 08:23:52 +00:00
Remove vertical padding from VE visual target
Compensates for vertical padding on paragraphs. Match source mode padding to that of a TextInputWidget. Change-Id: Ia53d8d2a6b9eff464c6c61152d02250088049bf9
This commit is contained in:
parent
2fcc23ae61
commit
5f966e845b
|
@ -3,10 +3,25 @@
|
|||
border: 0;
|
||||
}
|
||||
|
||||
.ve-init-mw-target-surface .ve-ce-documentNode,
|
||||
.ve-init-mw-target-surface .ve-ui-surface-placeholder {
|
||||
.ve-init-mw-target-surface {
|
||||
.ve-ce-documentNode,
|
||||
.ve-ui-surface-placeholder {
|
||||
min-height: 10em;
|
||||
padding: 6px 8px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
&.ve-ui-surface-source {
|
||||
.ve-ce-documentNode,
|
||||
.ve-ui-surface-placeholder {
|
||||
padding: 6px 8px;
|
||||
}
|
||||
}
|
||||
|
||||
&.ve-ui-surface-visual {
|
||||
.ve-ce-documentNode,
|
||||
.ve-ui-surface-placeholder {
|
||||
padding: 0 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue