FIX: topic admin menu was clipped on short posts due to overflow hidden

This commit is contained in:
Kris 2018-10-05 10:51:27 -04:00
parent be56f18cdd
commit fa21b39875
3 changed files with 12 additions and 3 deletions

View File

@ -496,7 +496,9 @@ aside.quote {
// 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;
.cooked {
overflow: hidden;
}
&.highlighted {
animation: background-fade-highlight 2.5s ease-out;
}

View File

@ -646,7 +646,11 @@ $topic-avatar-width: 45px;
position: relative;
z-index: z("base");
border-top: 1px solid $primary-low;
padding: 12px $topic-body-width-padding 0 $topic-body-width-padding;
padding: 12px 0 0 0;
.topic-meta-data,
.cooked {
padding: 0 $topic-body-width-padding 0.25em $topic-body-width-padding;
}
}
.topic-avatar {

View File

@ -298,7 +298,10 @@ span.post-count {
// mobile has no fixed width on topic-body so overflow: hidden causes problems
.topic-body {
overflow: inherit;
overflow: visible;
.cooked {
overflow: visible;
}
}
// instead, for mobile we set overflow hidden on the post's #main-outlet