FIX: Remove need for overflow hidden, follow-up to da5841d (#10971)

This commit is contained in:
Kris 2020-10-20 18:35:07 -04:00 committed by GitHub
parent 7b3b05f229
commit 3d9f127228
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 5 deletions

View File

@ -22,8 +22,9 @@
grid-template-columns: auto auto;
> .row {
grid-area: posts;
max-width: 100%;
overflow: hidden;
max-width: calc(
100vw - 16px
); // 16px is the left + right padding on .wrap in common/base/discourse.scss
}
.timeline-container {

View File

@ -592,9 +592,6 @@ blockquote {
}
.gap {
width: calc(
#{$topic-avatar-width} + #{$topic-body-width} + 2 * #{$topic-body-width-padding}
);
box-sizing: border-box;
}
@ -604,6 +601,10 @@ blockquote {
#{$topic-avatar-width} + #{$topic-body-width} +
(#{$topic-body-width-padding} * 2)
);
@media all and (max-width: 790px) {
// 16px is the left + right padding on .wrap in common/base/discourse.scss
max-width: calc(100vw - 16px);
}
}
/* hide the reply border above the time gap notices */