diff options
author | Salvatore Iovene <salvatore@iovene.com> | 2012-11-03 03:31:07 -0400 |
---|---|---|
committer | Salvatore Iovene <salvatore@iovene.com> | 2012-11-03 03:31:07 -0400 |
commit | 012e6a275bc2ba50fae73dd4664054241d6dc7a8 (patch) | |
tree | d9262c954af5d194b7bf9e5c852237e699498f0f | |
parent | 991ba9083e23837d1224f267f2a0ef641d8cbe16 (diff) | |
download | askbot-012e6a275bc2ba50fae73dd4664054241d6dc7a8.tar.gz askbot-012e6a275bc2ba50fae73dd4664054241d6dc7a8.tar.bz2 askbot-012e6a275bc2ba50fae73dd4664054241d6dc7a8.zip |
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.
-rw-r--r-- | askbot/media/style/style.css | 1 | ||||
-rw-r--r-- | askbot/media/style/style.less | 1 |
2 files changed, 2 insertions, 0 deletions
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; |