From c20110b6aee27992e0092b2933409ee572fe811c Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sat, 25 Apr 2020 19:55:16 +0100 Subject: [PATCH] Fixed issue where callout and quotes overlap floated images For #2055 --- resources/sass/_blocks.scss | 1 + resources/sass/_text.scss | 1 + 2 files changed, 2 insertions(+) diff --git a/resources/sass/_blocks.scss b/resources/sass/_blocks.scss index 173dd3baa..b6f35376d 100644 --- a/resources/sass/_blocks.scss +++ b/resources/sass/_blocks.scss @@ -8,6 +8,7 @@ padding: $-s $-s $-s $-xl; display: block; position: relative; + overflow: auto; &:before { background-image: url('data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIGZpbGw9IiMwMTUzODAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+ICAgIDxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiIGZpbGw9Im5vbmUiLz4gICAgPHBhdGggZD0iTTEyIDJDNi40OCAyIDIgNi40OCAyIDEyczQuNDggMTAgMTAgMTAgMTAtNC40OCAxMC0xMFMxNy41MiAyIDEyIDJ6bTEgMTVoLTJ2LTZoMnY2em0wLThoLTJWN2gydjJ6Ii8+PC9zdmc+'); background-repeat: no-repeat; diff --git a/resources/sass/_text.scss b/resources/sass/_text.scss index 3455a3ac4..a2a5281d9 100644 --- a/resources/sass/_text.scss +++ b/resources/sass/_text.scss @@ -206,6 +206,7 @@ blockquote { border-left: 4px solid var(--color-primary); @include lightDark(background-color, #f8f8f8, #333); padding: $-s $-m $-s $-xl; + overflow: auto; &:before { content: "\201C"; font-size: 2em;