From 593d41f78b8caa94208abdd5787ef26280460b61 Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Wed, 4 Feb 2009 16:45:46 +0000 Subject: 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) --- theme/base/css/display.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3-54-g00ecf