From 012e6a275bc2ba50fae73dd4664054241d6dc7a8 Mon Sep 17 00:00:00 2001 From: Salvatore Iovene Date: Sat, 3 Nov 2012 03:31:07 -0400 Subject: Adds overflow:hidden to .box selector. Without it, the .box would not be as tall as its content. While that works fine for Askbot's default skin (boxes are white on a white background), it will fail on skins in which boxes have a border or a different background color. There's no reason not to fix this in the default skin. --- askbot/media/style/style.css | 1 + askbot/media/style/style.less | 1 + 2 files changed, 2 insertions(+) diff --git a/askbot/media/style/style.css b/askbot/media/style/style.css index 79bc422b..dc4190b7 100644 --- a/askbot/media/style/style.css +++ b/askbot/media/style/style.css @@ -580,6 +580,7 @@ body.anon #searchBar .searchInputCancelable { background: #fff; padding: 4px 0px 10px 0px; width: 200px; + overflow: hidden; /* widgets for question template */ /* notify by email box */ diff --git a/askbot/media/style/style.less b/askbot/media/style/style.less index 828bf996..1404b4c0 100644 --- a/askbot/media/style/style.less +++ b/askbot/media/style/style.less @@ -579,6 +579,7 @@ body.anon { background: #fff; padding: 4px 0px 10px 0px; width:200px; + overflow: hidden; p { margin-bottom: 4px; -- cgit v1.2.3-1-g7c22