mobile needs different post body overflow handling

This commit is contained in:
Jeff Atwood 2016-02-22 01:40:28 -08:00
parent 6a6e3a6a3a
commit 23063ea094
1 changed files with 11 additions and 0 deletions

View File

@ -352,6 +352,17 @@ span.post-count {
padding: 15px 0;
}
// mobile has no fixed width on topic-body so overflow: hidden causes problems
.topic-body {
overflow:inherit;
}
// instead, for mobile we set overflow hidden on the cooked part of post body
// this prevents image overflow on deeply nested blockquotes, lists, etc
.cooked {
overflow: hidden;
}
.moderator .topic-body {
background-color: dark-light-diff($highlight, $secondary, 70%, -80%);
}