A platform for community discussion. Free, open, simple.
UX: Improvements to twitter oneboxes in chat (#42644)
Martin Brennan631bb1c6c75b
diff --git a/plugins/chat/assets/stylesheets/common/base-common.scss b/plugins/chat/assets/stylesheets/common/base-common.scssindex e735f0478f3..221b612055e 100644--- a/plugins/chat/assets/stylesheets/common/base-common.scss+++ b/plugins/chat/assets/stylesheets/common/base-common.scss@@ -245,6 +245,33 @@ body.has-full-page-chat {iframe.reddit-onebox {margin: var(--space-2) 0;}++ .onebox.twitterstatus {+ max-width: 500px;++ .tweet-images {+ .tweet-video {+ height: calc(576px / (var(--aspect-ratio)));+ max-height: 400px;+ }+ }++ .aspect-image-full-size {+ object-fit: initial;+ max-height: 400px;++ .tweet-image {+ object-fit: initial;+ max-height: 400px;+ }+ }++ .thumbnail.onebox-avatar {+ max-width: 38px;+ margin-right: var(--space-2);+ margin-top: var(--space-1);+ }+ }}.reviewable-chat-message {