Ensure page-actions icons are `display:block`

The technique used to hide the text in the .wm-ui-icon-element
(i.e. negative text-indent) depends on the icon container being
display block. This ensures that it is.

Bug: T218182
Change-Id: If68099c63023f878128dcedda38963f617a5c717
This commit is contained in:
Jan Drewniak 2019-03-13 11:05:32 +01:00 committed by Jdlrobson
parent 835d54b3dd
commit d153d78f46
1 changed files with 3 additions and 0 deletions

View File

@ -45,6 +45,9 @@
// The page actions menu icons are ever so slightly larger
// than standard icons.
@pageActionsIconSize: @iconSize + 0.15;
// explicitly added to ensure this element (which is an anchor) receives width/height
// when it's viewed in services that manipulate DOM such as Google Translate.
display: block;
position: relative;
min-width: @pageActionsIconSize;
width: @pageActionsIconSize;