mediawiki-extensions-Discus.../modules/dt.ui.ReplyWidget.less
Bartosz Dziewoński 6ab57649a7 ReplyWidget: Set line-height to match normal wikitext editor
Now it also matches the font in the reply editor used when
$wgDiscussionToolsUseVisualEditor is true.

Depends-On: Ia866af0163b538596bfbb8c96a330186b667f85f
Bug: T246846
Change-Id: I21bdbe798949c0027eea16904ec6bc125c4746d8
2020-03-04 15:45:04 +01:00

65 lines
887 B
Plaintext

.dt-ui-replyWidget {
> .oo-ui-textInputWidget {
max-width: none;
.oo-ui-inputWidget-input {
line-height: 1.5em;
}
}
&-actionsWrapper {
display: flex;
margin-top: 0.5em;
}
&-actions {
margin-left: 3em;
white-space: nowrap;
}
&-terms {
flex-grow: 1;
font-size: 0.75em;
color: #54595d;
}
&-preview {
background: #f6f6f6;
padding: 0.5em 1em;
&:empty {
display: none;
}
&:before {
content: attr( data-label );
color: #808080;
}
> .mw-parser-output {
margin-left: -1.6em;
}
}
&-anonWarning {
display: flex;
align-items: center;
margin-top: 1em;
margin-bottom: 0.5em;
&.oo-ui-messageWidget-block {
padding: 8px 12px;
> .oo-ui-iconElement-icon {
background-position: center center;
transform: scale( 1.5 );
}
}
> .oo-ui-labelElement-label {
flex-grow: 1;
margin-left: 2.5em;
}
}
}