UX: Shrink oneboxes and other wide content in custom post messages

This commit is contained in:
Kris 2019-06-05 12:47:49 -04:00
parent ea5767e935
commit c0e8950fdb
1 changed files with 3 additions and 0 deletions

View File

@ -705,6 +705,7 @@ blockquote > *:last-child {
font-weight: bold; font-weight: bold;
font-size: $font-down-1; font-size: $font-down-1;
color: $primary-medium; color: $primary-medium;
min-width: 0; // Allows flex container to shrink
.custom-message { .custom-message {
flex: 1 1 100%; flex: 1 1 100%;
@ -712,6 +713,8 @@ blockquote > *:last-child {
font-weight: normal; font-weight: normal;
font-size: $font-up-1; font-size: $font-up-1;
order: 12; order: 12;
word-break: break-word;
min-width: 0; // Allows content like oneboxes to shrink
p { p {
margin-bottom: 0; margin-bottom: 0;
} }