UX: Shrink oneboxes and other wide content in custom post messages
This commit is contained in:
parent
ea5767e935
commit
c0e8950fdb
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue