mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-16 20:58:28 +00:00
d76143bc08
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
16 lines
239 B
Plaintext
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;
|
|
}
|
|
}
|