From 17fa447861e98904e7beda548cb26bb0e87df105 Mon Sep 17 00:00:00 2001 From: FreneticScribbler Date: Sat, 6 Apr 2024 18:13:32 +0100 Subject: [PATCH] Reimplement .dl-horizontal, dropped in Bootstrap 3 and apparently still used in our templates in some places --- pipeline/source_assets/scss/screen.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pipeline/source_assets/scss/screen.scss b/pipeline/source_assets/scss/screen.scss index 4202478e..c49c3d1c 100644 --- a/pipeline/source_assets/scss/screen.scss +++ b/pipeline/source_assets/scss/screen.scss @@ -281,3 +281,12 @@ html.embedded { .bootstrap-select, button.btn.dropdown-toggle.bs-placeholder.btn-light { padding-right: 1rem !important; } +// New implementation of class dropped in Bootstrap 3 +.dl-horizontal { + display: grid; + grid-template-columns: auto 1fr; + gap: 0.7rem 0; +} +.dl-horizontal > dd, .dl-horizontal .markdown > p { + margin-bottom: 0 !important; +}