summaryrefslogtreecommitdiff
path: root/theme
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-02-04 16:45:46 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-02-04 16:45:46 +0000
commit593d41f78b8caa94208abdd5787ef26280460b61 (patch)
tree5fb442bcb70c7e2c1a6f32a6356b5c92acf48f15 /theme
parent8463d233976ecf06df60494ec061bcaf36819408 (diff)
Using overflow:hidden for long strings that don't contain any
whitespace. This is both a preventive measure for user content that is abused (i.e., leaking text into other page components) and for aesthetics (requested by @evan)
Diffstat (limited to 'theme')
-rw-r--r--theme/base/css/display.css8
1 files changed, 7 insertions, 1 deletions
diff --git a/theme/base/css/display.css b/theme/base/css/display.css
index e2a2a965c..638b09520 100644
--- a/theme/base/css/display.css
+++ b/theme/base/css/display.css
@@ -24,6 +24,7 @@ position:relative;
h1,h2,h3,h4,h5,h6 {
text-transform:uppercase;
margin-bottom:7px;
+overflow:hidden;
}
h1 {
font-size:1.4em;
@@ -508,6 +509,7 @@ min-height:123px;
float:left;
margin-bottom:18px;
margin-left:0;
+overflow:hidden;
}
.entity_profile dt,
#entity_statistics dt {
@@ -767,6 +769,10 @@ padding-left:28px;
margin-right:11px;
}
+.fn {
+overflow:hidden;
+}
+
.notice .author .fn {
font-weight:bold;
}
@@ -791,7 +797,7 @@ text-decoration:underline;
.notice .entry-title {
float:left;
width:100%;
-overflow:auto;
+overflow:hidden;
}
#shownotice .notice .entry-title {
font-size:2.2em;