From 6ef6c3d3c10641021533d370c7495bf5adc71824 Mon Sep 17 00:00:00 2001 From: brunoschadeck Date: Thu, 11 Apr 2024 17:43:50 +0200 Subject: [PATCH] fix: changes border radius to sm --- .../src/components/accordion-item/accordion-item.scss | 6 ++++-- packages/components/src/components/accordion/accordion.scss | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/components/src/components/accordion-item/accordion-item.scss b/packages/components/src/components/accordion-item/accordion-item.scss index 4f561eef990..fc36bf0781f 100644 --- a/packages/components/src/components/accordion-item/accordion-item.scss +++ b/packages/components/src/components/accordion-item/accordion-item.scss @@ -5,10 +5,12 @@ @use "../../styles/form-components"; @use "../../styles/component"; +$db-accordion-item-border-radius: variables.$db-border-radius-sm; + .db-accordion-item { position: relative; inline-size: 100%; - border-radius: variables.$db-border-radius-lg; + border-radius: $db-accordion-item-border-radius; summary + div { padding: variables.$db-spacing-fixed-md; @@ -29,7 +31,7 @@ justify-content: space-between; padding: variables.$db-spacing-fixed-md; gap: variables.$db-spacing-fixed-md; - border-radius: variables.$db-border-radius-lg; + border-radius: $db-accordion-item-border-radius; @include helpers.hover { background-color: colors.$db-current-color-bg-transparent-hover; diff --git a/packages/components/src/components/accordion/accordion.scss b/packages/components/src/components/accordion/accordion.scss index 27fd3cb3ba0..0e92c9327c9 100644 --- a/packages/components/src/components/accordion/accordion.scss +++ b/packages/components/src/components/accordion/accordion.scss @@ -52,7 +52,7 @@ The spacings are not part of the styling of the accordion items themselves. inset-block-start: 0; inline-size: 100%; block-size: 100%; - border-radius: variables.$db-border-radius-lg; + border-radius: variables.$db-border-radius-sm; pointer-events: none; } }