FIX: a couple of topic elements are too wide (#18775)

This commit is contained in:
Kris 2022-10-27 10:59:58 -04:00 committed by GitHub
parent 6388637931
commit 2556e5a715
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 6 deletions

View File

@ -1221,8 +1221,10 @@ blockquote > *:last-child {
border-bottom: 1px solid var(--danger-medium); border-bottom: 1px solid var(--danger-medium);
line-height: 0.1em; line-height: 0.1em;
margin: 1rem 0px; margin: 1rem 0px;
width: 100%; width: calc(
var(--topic-body-width) + var(--topic-avatar-width) +
(var(--topic-body-width-padding) * 2)
);
.topic-post-visited-message { .topic-post-visited-message {
background-color: var(--secondary); background-color: var(--secondary);
color: var(--danger-medium); color: var(--danger-medium);

View File

@ -509,10 +509,6 @@ blockquote {
(var(--topic-body-width-padding) * 2) (var(--topic-body-width-padding) * 2)
); );
max-width: 100%; max-width: 100%;
@media all and (max-width: 790px) {
// 32px is (left + right padding * 2) from .wrap in common/base/discourse.scss
max-width: calc(100vw - 32px);
}
} }
/* hide the reply border above the time gap notices */ /* hide the reply border above the time gap notices */