From 790b9856af06ad0f47020daa2c0662a5f30dba85 Mon Sep 17 00:00:00 2001 From: Jarek Radosz Date: Mon, 23 Nov 2020 00:49:02 +0100 Subject: [PATCH] FIX: Onebox image alignment (#11319) It was overlapping with elements after it and was unnecessarily indented relative to the text before it. --- app/assets/stylesheets/common/base/onebox.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/stylesheets/common/base/onebox.scss b/app/assets/stylesheets/common/base/onebox.scss index dfcb4020ba9..914984a7ece 100644 --- a/app/assets/stylesheets/common/base/onebox.scss +++ b/app/assets/stylesheets/common/base/onebox.scss @@ -188,6 +188,7 @@ aside.onebox { // full size images for instagram, twitter, etc. .aspect-image-full-size { + margin: 0.5em 0; max-height: 100%; width: calc(500px * var(--aspect-ratio)); max-width: 100%; @@ -198,7 +199,6 @@ aside.onebox { max-width: initial; max-height: initial; float: none; - padding: 5px 5px 5px 5px; } }