A platform for community discussion. Free, open, simple.
UX: prevent images and lightboxes from extending outside blockquotes (#7262)
Joe095ee6ac9643
diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scssindex 833ea340363..847c0dccfae 100644--- a/app/assets/stylesheets/common/base/topic-post.scss+++ b/app/assets/stylesheets/common/base/topic-post.scss@@ -203,6 +203,15 @@ aside.quote {}}+blockquote {+ // due to #image-sizing-hack large images and lightboxes extend past the+ // limits blockquotes. Since #image-sizing-hack is inline, we need to use+ // !important here otherwise it won't work.+ img {+ max-width: 100% !important;+ }+}+.quote-controls,.quote-controls .d-icon {color: dark-light-choose($primary-low-mid, $secondary-high);