mediawiki-extensions-Discus.../modules/CommentTargetWidget.less
Ed Sanders 5f966e845b 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
2020-02-18 15:53:45 +00:00

28 lines
428 B
Plaintext

.dt-ui-targetWidget {
.oo-ui-toolGroup {
border: 0;
}
.ve-init-mw-target-surface {
.ve-ce-documentNode,
.ve-ui-surface-placeholder {
min-height: 10em;
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;
}
}
}
}