mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-23 16:06:53 +00:00
Fix margins in footer
Vector 2022 increased paragraph bottom margin to 1em. Reset this to 0.5em. Also don't append an empty links list. Change-Id: I18b17824cc1093dbf61b354309144be8d9d74643
This commit is contained in:
parent
a1bc55aa56
commit
293cd13018
|
@ -204,9 +204,11 @@ function ReplyWidget( commentController, commentDetails, config ) {
|
|||
this.$footer.append(
|
||||
$( '<p>' ).addClass( 'plainlinks' ).html(
|
||||
this.isNewTopic ? licenseMessages.newtopic : licenseMessages.reply
|
||||
),
|
||||
$footerLinks
|
||||
)
|
||||
);
|
||||
if ( $footerLinks.children().length ) {
|
||||
this.$footer.append( $footerLinks );
|
||||
}
|
||||
this.$actionsWrapper.append( this.$footer, this.$actions );
|
||||
|
||||
this.viewportScrollContainer = OO.ui.Element.static.getClosestScrollableContainer( document.body );
|
||||
|
|
|
@ -223,6 +223,10 @@
|
|||
font-size: 0.75em;
|
||||
color: @color-subtle;
|
||||
|
||||
> p {
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
> * {
|
||||
&:first-child {
|
||||
margin-top: 0;
|
||||
|
|
Loading…
Reference in a new issue