Skip to content
Commit 0c758dbe authored by Daniel Calviño Sánchez's avatar Daniel Calviño Sánchez
Browse files

Fix size of icons in menus inside apps when shown as images



Some popover menus, like the contacts menu, still show their icon using
an img element. The main CSS rules assume that a "content-box" sizing is
being used, and thus set the size and padding of the image to add up to
the line height.

However, ".app-*" descendants use a "border-box" sizing, so when a menu
with an image was shown in an app the icon was not properly shown. Now
both the width and height of the image is set to the item height in
those cases, which causes the visible size of the icon to be the item
height minus the padding (the same as when "content-box" sizing is
used).

Signed-off-by: default avatarDaniel Calviño Sánchez <danxuliu@gmail.com>
parent 2e25d22d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment