From c0e8950fdb2eb06fbd05ca28b95c8348ccdbac00 Mon Sep 17 00:00:00 2001 From: Kris Date: Wed, 5 Jun 2019 12:47:49 -0400 Subject: [PATCH] UX: Shrink oneboxes and other wide content in custom post messages --- app/assets/stylesheets/common/base/topic-post.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scss index dc3f1625dd0..0d86f038fd5 100644 --- a/app/assets/stylesheets/common/base/topic-post.scss +++ b/app/assets/stylesheets/common/base/topic-post.scss @@ -705,6 +705,7 @@ blockquote > *:last-child { font-weight: bold; font-size: $font-down-1; color: $primary-medium; + min-width: 0; // Allows flex container to shrink .custom-message { flex: 1 1 100%; @@ -712,6 +713,8 @@ blockquote > *:last-child { font-weight: normal; font-size: $font-up-1; order: 12; + word-break: break-word; + min-width: 0; // Allows content like oneboxes to shrink p { margin-bottom: 0; }