mediawiki-extensions-Discus.../modules/dt.ui.NewTopicController.less
Bartosz Dziewoński a36d6ad5c6 Show edit notices in the new discussion tool
Considerations:
* Using the same edit notices as VisualEditor, except 'anoneditwarning'
* No extra frame/styling is added (on Wikimedia wikis, the notices
  often already have them)
* 'talkpagetext' message is not shown (on Wikimedia wikis, they are
  mostly about signing your posts with tildes, which is not necessary)

Bug: T269033
Change-Id: Idc5ff29f093c75a14c3a3479888295d5bf630f6d
2021-06-22 21:40:51 +02:00

34 lines
667 B
Plaintext

.ext-discussiontools-ui-newTopic {
clear: both;
&.oo-ui-panelLayout-padded.oo-ui-panelLayout-framed {
margin-top: 2em;
}
.ext-discussiontools-ui-newTopic-notices {
// Ensure that the form is visible below the notice in case of large notices and small screens
max-height: 75vh;
overflow: auto;
}
.ext-discussiontools-ui-newTopic-notices + .oo-ui-fieldLayout {
margin-top: 0;
}
h2&-sectionTitle {
max-width: none;
// This element is a <h2> - override unwanted heading styles
padding: 0;
border: 0;
margin-top: 4px;
}
.ext-discussiontools-ui-replyWidget {
margin-bottom: 0;
}
.oo-ui-fieldLayout-messages {
max-width: none;
}
}