From 8c987c969c728231d634df1534d53ae1c0313f62 Mon Sep 17 00:00:00 2001 From: Vivien Nicolas <21@vingtetun.org> Date: Wed, 14 Oct 2009 09:40:23 -0400 Subject: [PATCH] Bug 518370: fit 4 tabs high on the n900 [r=mark.finkle] --- mobile/themes/hildon/browser.css | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/mobile/themes/hildon/browser.css b/mobile/themes/hildon/browser.css index dc50ab2ba0e6..473f0ee5ff99 100644 --- a/mobile/themes/hildon/browser.css +++ b/mobile/themes/hildon/browser.css @@ -667,14 +667,20 @@ autocompleteresult.allbookmarks > .autocomplete-item-url { -moz-box-pack: start; } +box[type="documenttab"] { + /* display:block allow us to change the line-height, it won't work otherwise */ + display: block; + line-height: 0; +} + box[type="documenttab"] .documenttab-canvas { /* keep the unselected thumbnails aligned with the selected one */ - border: 1mm solid transparent; + border: 0.8mm solid transparent; } box[type="documenttab"][selected="true"] .documenttab-canvas { - border: 1mm solid #262629; - -moz-border-radius: 4px; + border: 0.8mm solid #262629; + -moz-border-radius: 3px; } box[type="documenttab"] .documenttab-close {