From c066473309dea825ece5ce1f46e7cca296e1488b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A3o=20Gottwald?= Date: Tue, 20 Mar 2012 10:56:42 +0100 Subject: [PATCH] Bug 736846 - about:home launcher buttons jerk down as the icons load. r=mak --- browser/base/content/abouthome/aboutHome.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/browser/base/content/abouthome/aboutHome.css b/browser/base/content/abouthome/aboutHome.css index a618ba47b35b..1574276a5379 100644 --- a/browser/base/content/abouthome/aboutHome.css +++ b/browser/base/content/abouthome/aboutHome.css @@ -293,6 +293,7 @@ body[narrow] #restorePreviousSession { .launchButton::before { display: block; + height: 32px; margin-bottom: 6px; line-height: 0; /* remove extra vertical space due to non-zero font-size */ } @@ -323,6 +324,8 @@ body[narrow] #restorePreviousSession { #restorePreviousSession::before { content: url("chrome://browser/content/abouthome/restore-large.png"); + height: 48px; + width: 48px; display: inline-block; /* display on same line as text label */ vertical-align: middle; margin-bottom: 0; @@ -335,6 +338,8 @@ body[dir=rtl] #restorePreviousSession::before { body[narrow] #restorePreviousSession::before { content: url("chrome://browser/content/abouthome/restore.png"); + height: 32px; + width: 32px; } #aboutMozilla {