From 2dc8bfd1ba112ad0d81e980b63e48d2f0b077f52 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Mon, 12 Apr 2021 10:45:16 +0200 Subject: [PATCH] UI: adds styling for new github PR body details/summary (#12669) https://github.com/discourse/onebox/pull/466 --- app/assets/stylesheets/common/base/onebox.scss | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/app/assets/stylesheets/common/base/onebox.scss b/app/assets/stylesheets/common/base/onebox.scss index a5716c7e662..62eff6335ca 100644 --- a/app/assets/stylesheets/common/base/onebox.scss +++ b/app/assets/stylesheets/common/base/onebox.scss @@ -161,6 +161,20 @@ aside.onebox { } } + details.onebox-details { + summary.onebox-details-summary { + display: flex; + h4 { + display: inline-block; + } + } + p.onebox-details-body { + margin: 0 0 0.5em 0; + padding: 0.5em; + background-color: var(--blend-primary-secondary-5); + } + } + [style*="--aspect-ratio"] > :first-child { width: 100%; }