mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-27 17:20:40 +00:00
Wrap table-cell buttons in table-row
Removes unwanted 2px bottom margin from footer buttons. Change-Id: I67c1d5f21d7c62a436010932e3d7b6257e4b73ff
This commit is contained in:
parent
b846c11910
commit
1f002745a7
|
@ -61,30 +61,34 @@
|
|||
display: block;
|
||||
}
|
||||
|
||||
.mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons .oo-ui-buttonElement {
|
||||
display: table-cell;
|
||||
white-space: normal;
|
||||
font-weight: bold;
|
||||
width: @notification-popup-width / 2;
|
||||
box-sizing: border-box;
|
||||
.mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons {
|
||||
display: table-row;
|
||||
|
||||
&:last-child {
|
||||
border-left: 1px solid #DDDDDD;
|
||||
}
|
||||
.oo-ui-buttonElement {
|
||||
display: table-cell;
|
||||
white-space: normal;
|
||||
font-weight: bold;
|
||||
width: @notification-popup-width / 2;
|
||||
box-sizing: border-box;
|
||||
|
||||
> .oo-ui-buttonElement-button {
|
||||
display: block;
|
||||
line-height: 2.6em;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
padding: 0.5em;
|
||||
&:last-child {
|
||||
border-left: 1px solid #DDDDDD;
|
||||
}
|
||||
|
||||
.oo-ui-iconElement-icon {
|
||||
// HACK: these are absolutely positioned in OOUI, and our line-height: 4em;
|
||||
// rule breaks that.
|
||||
// FIXME: We should really use a different widget here
|
||||
position: static;
|
||||
opacity: @opacity-mid;
|
||||
> .oo-ui-buttonElement-button {
|
||||
display: block;
|
||||
line-height: 2.6em;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
padding: 0.5em;
|
||||
|
||||
.oo-ui-iconElement-icon {
|
||||
// HACK: these are absolutely positioned in OOUI, and our line-height: 4em;
|
||||
// rule breaks that.
|
||||
// FIXME: We should really use a different widget here
|
||||
position: static;
|
||||
opacity: @opacity-mid;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue