From 02e0a0748d78e6e1d898f0003f645fd5b3367242 Mon Sep 17 00:00:00 2001 From: Shane Tomlinson <stomlinson@mozilla.com> Date: Thu, 31 May 2012 17:09:28 +0100 Subject: [PATCH] Do some resizing for when there is a photo, an RP name/logo, and a TOS/PP. --- resources/static/dialog/css/popup.css | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/resources/static/dialog/css/popup.css b/resources/static/dialog/css/popup.css index 5f5f7452e..57a289fe4 100644 --- a/resources/static/dialog/css/popup.css +++ b/resources/static/dialog/css/popup.css @@ -284,14 +284,15 @@ section > .contents { #favicon img { display: block; margin: 0 auto; - max-height: 128px; - max-width: 128px; + max-height: 100px; + max-width: 100px; } #favicon h2, #favicon h3 { white-space: nowrap; text-overflow: ellipsis; - line-height: 1.3; /* the 1.3em is to keep y, g, j, etc from having their bottoms chopped off */ + font-size: 28px; + line-height: 1.2em; /* the 1.2em is to keep y, g, j, etc from having their bottoms chopped off */ overflow: hidden; } @@ -300,8 +301,8 @@ section > .contents { } #favicon h3 { - font-size: 19px; margin-top: 0; + font-size: 14px; } #favicon .vertical { -- GitLab