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:
Ed Sanders 2020-02-06 15:47:43 -08:00
parent 2fcc23ae61
commit 5f966e845b

View file

@ -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;
}
}
}
}