From e293afad4c76c97b65b1b3f3bcede3bf23bbbd4b Mon Sep 17 00:00:00 2001 From: Kris Date: Fri, 15 Jul 2022 15:51:22 -0400 Subject: [PATCH] UX: Prevent pre tag from making posts too wide (#17518) --- app/assets/stylesheets/desktop/topic-post.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss index 8d631716913..9d4cc4933ee 100644 --- a/app/assets/stylesheets/desktop/topic-post.scss +++ b/app/assets/stylesheets/desktop/topic-post.scss @@ -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
, from blowing out the width
   position: relative;
   border-top: 1px solid var(--primary-low);
   padding: 12px 0 0 0;