mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 23:44:53 +00:00
Merge "Fix borders of bundled notifications inside a bundle"
This commit is contained in:
commit
8641483ac4
|
@ -32,9 +32,13 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mw-echo-ui-sortedListWidget {
|
||||
/* stylelint-disable no-descending-specificity */
|
||||
.mw-echo-ui-subGroupListWidget,
|
||||
.mw-echo-ui-bundleNotificationItemWidget-group {
|
||||
.mw-echo-ui-sortedListWidget-group:not( :empty ) {
|
||||
border: @border-width-base @border-style-base @border-color-subtle;
|
||||
margin-bottom: @bundle-group-padding / 2;
|
||||
}
|
||||
}
|
||||
/* stylelint-enable no-descending-specificity */
|
||||
|
|
|
@ -34,10 +34,12 @@
|
|||
this.animated = !!config.animated;
|
||||
|
||||
// Initialization
|
||||
this.setGroupElement( config.$group || this.$element );
|
||||
this.setGroupElement( config.$group || $( '<div>' ) );
|
||||
|
||||
this.$group.addClass( 'mw-echo-ui-sortedListWidget-group' );
|
||||
this.$element
|
||||
.addClass( 'mw-echo-ui-sortedListWidget' );
|
||||
.addClass( 'mw-echo-ui-sortedListWidget' )
|
||||
.append( this.$group );
|
||||
};
|
||||
|
||||
/* Initialization */
|
||||
|
|
Loading…
Reference in a new issue