From 9e9bfe03c0b45761498c99854f7c370ade2adf38 Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Thu, 16 Oct 2014 22:45:45 -0700 Subject: [PATCH] add overflow:hidden to blockquote (for images) --- app/assets/stylesheets/common/base/discourse.scss | 1 + app/assets/stylesheets/embed.css.scss | 1 + 2 files changed, 2 insertions(+) diff --git a/app/assets/stylesheets/common/base/discourse.scss b/app/assets/stylesheets/common/base/discourse.scss index aa7a7df17a4..72d5df007b7 100644 --- a/app/assets/stylesheets/common/base/discourse.scss +++ b/app/assets/stylesheets/common/base/discourse.scss @@ -15,6 +15,7 @@ big { blockquote { background-color: scale-color-diff(); border-left: 5px solid darken(scale-color-diff(), 10%); + overflow: hidden; } a.no-href { diff --git a/app/assets/stylesheets/embed.css.scss b/app/assets/stylesheets/embed.css.scss index 4765ad693c2..cc73f075756 100644 --- a/app/assets/stylesheets/embed.css.scss +++ b/app/assets/stylesheets/embed.css.scss @@ -28,6 +28,7 @@ article.post { margin: 0 0 10px 0; background-color: scale-color-diff(); border-left: 5px solid darken(scale-color-diff(), 10%); + overflow: hidden; p { margin: 0 0 10px 0; }