From ab4e9cacb5d94350c15221b31f88b3b82be6f17c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Calvi=C3=B1o=20S=C3=A1nchez?= Date: Tue, 24 Apr 2018 17:37:51 +0200 Subject: [PATCH] Fix icons in contacts menu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The border-box sizing is set for apps in the server, but the CSS rules for the icons of the contacts menu (also set in the server!) assume that content-box sizing is used. Therefore the proper size should be forced for the icons to be visible. Signed-off-by: Daniel Calviño Sánchez --- css/style.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/css/style.scss b/css/style.scss index ec66986bb..591c1db9a 100644 --- a/css/style.scss +++ b/css/style.scss @@ -24,6 +24,14 @@ border: 1px solid #eee; } +.contactsmenu-popover li > a > img { + /* The app uses border-box sizing, so the size of the icon is the + * width/height plus the padding set by default in the server + * (16px + 11px*2). */ + width: 38px; + height: 38px; +} + /** * Sidebar styles */