mirror of
https://github.com/discourse/discourse.git
synced 2025-03-06 11:19:51 +00:00
FIX: Remove need for overflow hidden, follow-up to da5841d (#10971)
This commit is contained in:
parent
7b3b05f229
commit
3d9f127228
@ -22,8 +22,9 @@
|
|||||||
grid-template-columns: auto auto;
|
grid-template-columns: auto auto;
|
||||||
> .row {
|
> .row {
|
||||||
grid-area: posts;
|
grid-area: posts;
|
||||||
max-width: 100%;
|
max-width: calc(
|
||||||
overflow: hidden;
|
100vw - 16px
|
||||||
|
); // 16px is the left + right padding on .wrap in common/base/discourse.scss
|
||||||
}
|
}
|
||||||
|
|
||||||
.timeline-container {
|
.timeline-container {
|
||||||
|
@ -592,9 +592,6 @@ blockquote {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.gap {
|
.gap {
|
||||||
width: calc(
|
|
||||||
#{$topic-avatar-width} + #{$topic-body-width} + 2 * #{$topic-body-width-padding}
|
|
||||||
);
|
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -604,6 +601,10 @@ blockquote {
|
|||||||
#{$topic-avatar-width} + #{$topic-body-width} +
|
#{$topic-avatar-width} + #{$topic-body-width} +
|
||||||
(#{$topic-body-width-padding} * 2)
|
(#{$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 */
|
/* hide the reply border above the time gap notices */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user