From e3174e70c62556d5d7f4b4b53c22a0892624a8a2 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Thu, 13 Jan 2022 16:14:51 +0100 Subject: [PATCH] FIX: attempts to compensate for first line spacing with pre-line (#15566) --- app/assets/stylesheets/common/base/onebox.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/assets/stylesheets/common/base/onebox.scss b/app/assets/stylesheets/common/base/onebox.scss index 07adf23dff7..2bc50de8bc7 100644 --- a/app/assets/stylesheets/common/base/onebox.scss +++ b/app/assets/stylesheets/common/base/onebox.scss @@ -615,6 +615,8 @@ aside.onebox.twitterstatus .onebox-body { .tweet { white-space: pre-line; + top: calc(-1 * var(--font-0) * var(--line-height-large)); + position: relative; } p,