From 7e02b55d591bdd5ad3d6cd8004af1bca9d3811e7 Mon Sep 17 00:00:00 2001 From: Luka Stocker <67695434+lukastocker@users.noreply.github.com> Date: Mon, 23 Dec 2024 11:57:56 +0100 Subject: [PATCH] UI: 43025 add padding to .c-form.c-form-horizontal if parent is a accordion content class. (#8699) https://mantis.ilias.de/view.php?id=43025 --- .../070-components/legacy/Services/_component_accordion.scss | 3 +++ templates/default/delos.css | 3 +++ 2 files changed, 6 insertions(+) diff --git a/templates/default/070-components/legacy/Services/_component_accordion.scss b/templates/default/070-components/legacy/Services/_component_accordion.scss index 724d8a63b223..d34cea8e4d39 100755 --- a/templates/default/070-components/legacy/Services/_component_accordion.scss +++ b/templates/default/070-components/legacy/Services/_component_accordion.scss @@ -35,6 +35,9 @@ .il_VAccordionContent, .il_HAccordionContent { padding-top: $il-padding-xlarge-vertical; + >.c-form.c-form--horizontal { + padding: 0px $il-padding-xlarge-horizontal; + } } .il_HAccordionHeadActive, .il_VAccordionHeadActive { background-image: url("#{$il-background-images-path}nav/tree_exp.svg"); diff --git a/templates/default/delos.css b/templates/default/delos.css index c436d04587b1..3d6108ea5aad 100644 --- a/templates/default/delos.css +++ b/templates/default/delos.css @@ -14619,6 +14619,9 @@ li.ilWikiBlockItem { .il_VAccordionContent, .il_HAccordionContent { padding-top: 9px; } +.il_VAccordionContent > .c-form.c-form--horizontal, .il_HAccordionContent > .c-form.c-form--horizontal { + padding: 0px 15px; +} .il_HAccordionHeadActive, .il_VAccordionHeadActive { background-image: url("../images/nav/tree_exp.svg");