From 3e06ac9fe2f2d7dc463c71b5342b58298b55e8ab Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Mon, 17 Mar 2014 16:16:18 +0100 Subject: [PATCH] [ticket/218] Make sure clock doesn't cause trembling blocks in left column B3P-218 --- styles/prosilver/theme/portal.css | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/styles/prosilver/theme/portal.css b/styles/prosilver/theme/portal.css index ff8f1f51..4882c236 100644 --- a/styles/prosilver/theme/portal.css +++ b/styles/prosilver/theme/portal.css @@ -133,8 +133,8 @@ span.portal-corners-top-inner, span.portal-corners-bottom-inner{ /* RTL language fixes */ .rtl .portal-navigation ul li a{ background-image: url("./images/portal/arrowbullet_rtl.gif"); - background-position: center right; /*custom bullet list image*/ - padding-right: 19px; /*link text is indented 19px*/ + background-position: center right; /* custom bullet list image */ + padding-right: 19px; /* link text is indented 19px */ } /* Portal clock @@ -143,6 +143,8 @@ span.portal-corners-top-inner, span.portal-corners-bottom-inner{ text-align: center; min-height: 5em; margin: 0 10%; + /* set a fixed height to get rid of the trembling clock in IE9 */ + height: 50px; } .portal-clock { @@ -304,3 +306,9 @@ span.portal-corners-top-inner, span.portal-corners-bottom-inner{ display: inline-block; margin: 21px 0 0 0; } + +@media all\0 { + .portal-clock-back-hours-down, .portal-clock-front-hours-down { + margin-left: -1px; + } +}