mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 19:14:01 +08:00
FIX: add global hidden overflow on all topic bodies
This commit is contained in:
parent
f6b1238d6c
commit
6a6e3a6a3a
|
@ -33,7 +33,6 @@ small {
|
|||
|
||||
blockquote {
|
||||
@include post-aside;
|
||||
overflow: hidden;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
|
|
|
@ -152,6 +152,10 @@ aside.quote {
|
|||
}
|
||||
|
||||
.topic-body {
|
||||
// this is necessary for ANYTHING that extends past the right edge of
|
||||
// the post body, such as an image in a deeply nested list, image in
|
||||
// a deeply nested blockquote, and so on.. you get the idea.
|
||||
overflow: hidden;
|
||||
&.highlighted {
|
||||
background-color: dark-light-diff($tertiary, $secondary, 85%, -65%);
|
||||
}
|
||||
|
|
|
@ -706,6 +706,7 @@ $topic-avatar-width: 45px;
|
|||
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -75%);
|
||||
padding: 12px $topic-body-width-padding 15px $topic-body-width-padding;
|
||||
}
|
||||
|
||||
.topic-avatar {
|
||||
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -75%);
|
||||
padding-top: 15px;
|
||||
|
|
|
@ -28,7 +28,6 @@ article.post {
|
|||
margin: 0 0 10px 0;
|
||||
background-color: dark-light-diff($primary, $secondary, 97%, -45%);
|
||||
border-left: 5px solid darken(dark-light-diff($primary, $secondary, 97%, -45%), 10%);
|
||||
overflow: hidden;
|
||||
p {
|
||||
margin: 0 0 10px 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user