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:
parent
835d54b3dd
commit
d153d78f46
|
@ -45,6 +45,9 @@
|
||||||
// The page actions menu icons are ever so slightly larger
|
// The page actions menu icons are ever so slightly larger
|
||||||
// than standard icons.
|
// than standard icons.
|
||||||
@pageActionsIconSize: @iconSize + 0.15;
|
@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;
|
position: relative;
|
||||||
min-width: @pageActionsIconSize;
|
min-width: @pageActionsIconSize;
|
||||||
width: @pageActionsIconSize;
|
width: @pageActionsIconSize;
|
||||||
|
|
Loading…
Reference in New Issue