FIX: adjust width to avoid horizontal overflow (#12038)

This commit is contained in:
Kris 2021-02-11 13:41:34 -05:00 committed by GitHub
parent df8436cd7f
commit eec093918f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -604,8 +604,8 @@ blockquote {
(#{$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);
// 32px is (left + right padding * 2) from .wrap in common/base/discourse.scss
max-width: calc(100vw - 32px);
}
}