summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2011-05-02 13:45:27 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2011-05-02 13:45:27 -0400
commitcf58b03481dd459c152a2cf5fee7e70241d5b0d1 (patch)
tree319b4a5403e4daedd907df1f996afc6b54a05e28
parent83d0b73a36e6ed70c8ac66425cef6e8ecb8050cc (diff)
downloadaskbot-cf58b03481dd459c152a2cf5fee7e70241d5b0d1.tar.gz
askbot-cf58b03481dd459c152a2cf5fee7e70241d5b0d1.tar.bz2
askbot-cf58b03481dd459c152a2cf5fee7e70241d5b0d1.zip
fixed the overflow problem for long lines in the question and answer body
-rwxr-xr-xaskbot/skins/default/media/style/style.css7
1 files changed, 5 insertions, 2 deletions
diff --git a/askbot/skins/default/media/style/style.css b/askbot/skins/default/media/style/style.css
index 1ce0b3d0..72008086 100755
--- a/askbot/skins/default/media/style/style.css
+++ b/askbot/skins/default/media/style/style.css
@@ -106,11 +106,11 @@ pre {
font-family: Consolas, Monaco, Liberation Mono, Lucida Console, Monospace;
font-size: 100%;
margin-bottom: 10px;
- overflow: auto;
+ /*overflow: auto;*/
background-color: #F5F5F5;
padding-left: 5px;
padding-top: 5px;
- width: 671px;
+ /*width: 671px;*/
padding-bottom: 20px ! ie7;
}
@@ -845,6 +845,8 @@ a:hover.medal {
.question-body, .answer-body {
min-height: 39px;
line-height: 20px;
+ overflow: auto;
+ width: 660px;
}
.question-body IMG, .answer-body IMG {
@@ -1204,6 +1206,7 @@ span.form-error {
width: 691px;
background-color: #F5F5F5;
min-height: 20px;
+ overflow: auto;
}
.wmd-preview pre {