Restrict margin between arrow and icon to feature flag

Follow up to 1bb0a0e8f

Bug: T319070
Change-Id: I850088abdf815c0c65a05aa2a7dfd9445aa688f6
This commit is contained in:
Jon Robson 2022-10-05 09:19:26 -07:00 committed by Jdlrobson
parent 29c97d0134
commit e62062631d
1 changed files with 8 additions and 2 deletions

View File

@ -8,8 +8,14 @@
background: url( ../common/images/arrow-down.svg ) 100% 50% no-repeat;
width: unit( 16 / @font-size-tabs / @font-size-browser, em );
height: unit( 16 / @font-size-tabs / @font-size-browser, em );
// https://phabricator.wikimedia.org/T319070#8284272
margin-left: -1px;
// FIXME: This can be folded into the main mixin as soon as wgVectorVisualEnhancementNext
// is default. This rule should not apply to the current master as is part of a larger
// set of changes that must go out together.
.vector-feature-visual-enhancement-next-enabled & {
// https://phabricator.wikimedia.org/T319070#8284272
margin-left: -1px;
}
}
.mixin-vector-dropdown-menu-item() {