UX: Prevent pre tag from making posts too wide (#17518)

This commit is contained in:
Kris 2022-07-15 15:51:22 -04:00 committed by GitHub
parent 4a996825fd
commit e293afad4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -470,6 +470,7 @@ blockquote {
.topic-body {
width: calc(#{$topic-body-width} + (#{$topic-body-width-padding} * 2));
float: left;
min-width: 0; // prevents some elements, like <pre>, from blowing out the width
position: relative;
border-top: 1px solid var(--primary-low);
padding: 12px 0 0 0;