From 8ce023e2ad1fe611556de69c11ba2d120664ae13 Mon Sep 17 00:00:00 2001 From: Julie Sagan Date: Wed, 20 Nov 2024 19:35:41 +0200 Subject: [PATCH] Made some changer which have been gotten from German --- components/accordion/accordion.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/components/accordion/accordion.css b/components/accordion/accordion.css index a5c4f05..d7c4cac 100644 --- a/components/accordion/accordion.css +++ b/components/accordion/accordion.css @@ -7,8 +7,7 @@ .accordion__item { margin-bottom: 8px; border: 1px solid var(--grey-3); - padding-block: 24px; - padding-left: 32px; + padding: 24px 32px; border-radius: 8px; cursor: pointer; } @@ -25,7 +24,7 @@ display: none; } -details[open] > .accordion__text { +.accordion__item[open] .accordion__text { color: var(--grey-4); padding-top: 16px; padding-bottom: 8px;