Add end margin to opt-out link
This adds the same end margin as the portal container making the opt-out-link more visually pleasing if it overflows its container. Bug: T243281 Change-Id: I42eb3ec4a18ad9e4f6bcdb451593fec7e6e4992a
This commit is contained in:
parent
633affb6cf
commit
b9dc654a4f
|
@ -3,7 +3,7 @@
|
|||
.vector-emphasized-sidebar-action {
|
||||
// Align with the portal heading/links
|
||||
// `.portal` + `.portal .body`
|
||||
margin: 8px 0 8px @margin-start-portal + @margin-start-portal-body;
|
||||
margin: 8px @margin-end-portal 8px @margin-start-portal + @margin-start-portal-body;
|
||||
}
|
||||
|
||||
.vector-emphasized-sidebar-action-link {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
@import 'mediawiki.mixins.less';
|
||||
|
||||
.portal {
|
||||
margin: 0 0.6em 0 @margin-start-portal;
|
||||
margin: 0 @margin-end-portal 0 @margin-start-portal;
|
||||
padding: 0.25em 0;
|
||||
direction: ltr;
|
||||
|
||||
|
|
|
@ -84,6 +84,10 @@
|
|||
// languages).
|
||||
@margin-start-portal: 0.7em;
|
||||
|
||||
// Margin space from the end of the Portal (right edge in LTR
|
||||
// languages).
|
||||
@margin-end-portal: 0.6em;
|
||||
|
||||
// Margin space from the start of the Portal body (left edge in LTR languages).
|
||||
@margin-start-portal-body: @margin-start-nav-main-body;
|
||||
|
||||
|
|
Loading…
Reference in New Issue