mediawiki-extensions-Discus.../modules/dt.ui.NewTopicController.less
Bartosz Dziewoński d76143bc08 Ability to add new discussion sections
1. Extend the JS modifier to allow adding top-level comments
   (that is, replies to headings). PHP modifier doesn't do this
   because we'll save the changes using paction=addtopic instead.

2. Subclass CommentController to allow adding a new heading and a
   top-level comment underneath it at the same time.

3. A lot of ugly code in ReplyWidget to customize the interface
   for this case. Much of it should probably be moved to
   CommentController/NewTopicController.

Bug: T267595
Change-Id: I9c707bb7f7aae1b92c72fb4dee436490f8c8409b
2021-01-12 20:15:28 +00:00

16 lines
239 B
Plaintext

.dt-ui-newTopic {
clear: both;
&-sectionTitle {
max-width: none;
// This element is a <h2> - override unwanted heading styles
padding: 0;
border: 0;
margin-bottom: 0;
}
.oo-ui-fieldLayout-messages {
max-width: none;
}
}