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)
This commit is contained in:
parent
8463d23397
commit
593d41f78b
|
@ -24,6 +24,7 @@ position:relative;
|
||||||
h1,h2,h3,h4,h5,h6 {
|
h1,h2,h3,h4,h5,h6 {
|
||||||
text-transform:uppercase;
|
text-transform:uppercase;
|
||||||
margin-bottom:7px;
|
margin-bottom:7px;
|
||||||
|
overflow:hidden;
|
||||||
}
|
}
|
||||||
h1 {
|
h1 {
|
||||||
font-size:1.4em;
|
font-size:1.4em;
|
||||||
|
@ -508,6 +509,7 @@ min-height:123px;
|
||||||
float:left;
|
float:left;
|
||||||
margin-bottom:18px;
|
margin-bottom:18px;
|
||||||
margin-left:0;
|
margin-left:0;
|
||||||
|
overflow:hidden;
|
||||||
}
|
}
|
||||||
.entity_profile dt,
|
.entity_profile dt,
|
||||||
#entity_statistics dt {
|
#entity_statistics dt {
|
||||||
|
@ -767,6 +769,10 @@ padding-left:28px;
|
||||||
margin-right:11px;
|
margin-right:11px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.fn {
|
||||||
|
overflow:hidden;
|
||||||
|
}
|
||||||
|
|
||||||
.notice .author .fn {
|
.notice .author .fn {
|
||||||
font-weight:bold;
|
font-weight:bold;
|
||||||
}
|
}
|
||||||
|
@ -791,7 +797,7 @@ text-decoration:underline;
|
||||||
.notice .entry-title {
|
.notice .entry-title {
|
||||||
float:left;
|
float:left;
|
||||||
width:100%;
|
width:100%;
|
||||||
overflow:auto;
|
overflow:hidden;
|
||||||
}
|
}
|
||||||
#shownotice .notice .entry-title {
|
#shownotice .notice .entry-title {
|
||||||
font-size:2.2em;
|
font-size:2.2em;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user