A platform for community discussion. Free, open, simple.
UX: adjust onebox styles for chat, title line-height (#25249)
Kris731699a7cfcf
diff --git a/app/assets/stylesheets/common/base/onebox.scss b/app/assets/stylesheets/common/base/onebox.scssindex 5501a927c84..b456992ecfb 100644--- a/app/assets/stylesheets/common/base/onebox.scss+++ b/app/assets/stylesheets/common/base/onebox.scss@@ -130,6 +130,7 @@ aside.onebox {h4 {font-size: var(--font-up-1);margin: 0 0 10px 0;+ line-height: var(--line-height-medium);}a[href] {diff --git a/plugins/chat/assets/stylesheets/common/chat-message-images.scss b/plugins/chat/assets/stylesheets/common/chat-message-images.scssindex 9a846f43b41..622e68b7a3a 100644--- a/plugins/chat/assets/stylesheets/common/chat-message-images.scss+++ b/plugins/chat/assets/stylesheets/common/chat-message-images.scss@@ -31,9 +31,18 @@ $max_image_height: 150px;@container (width < 400px) {.onebox-body {- &:not(:has(.thumbnail.onebox-avatar)) {- display: flex;- flex-direction: column;+ display: flex;+ flex-direction: column;++ .thumbnail.onebox-avatar {+ display: none;+ }+ .aspect-image {+ margin-right: 0;+ max-width: 100%;+ + h3 {+ margin-top: 0.25rem;+ }}h3 {