From 854f97c43f0fb4b99cb51742a0d3ec7037813bca Mon Sep 17 00:00:00 2001 From: Anveshreddy mekala Date: Tue, 14 May 2024 10:13:08 -0500 Subject: [PATCH] refactor --- .../src/components/dropdown-item/dropdown-item.scss | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/packages/calcite-components/src/components/dropdown-item/dropdown-item.scss b/packages/calcite-components/src/components/dropdown-item/dropdown-item.scss index 50d4cd8fb11..932c3193bfb 100644 --- a/packages/calcite-components/src/components/dropdown-item/dropdown-item.scss +++ b/packages/calcite-components/src/components/dropdown-item/dropdown-item.scss @@ -1,41 +1,35 @@ :host([scale="s"]) { .container { - @apply text-n2h py-1; - padding-inline: 8px; + @apply text-n2h py-1 px-2; } } :host([scale="m"]) { .container { - @apply text-n1h py-2; - padding-inline: 12px; + @apply text-n1h py-2 px-3; } } :host([scale="l"]) { .container { - @apply text-0h py-2.5; - padding-inline: 16px; + @apply text-0h py-2.5 px-4; } } // none-selection mode .container--s.container--none-selection { - padding-inline-start: theme("padding.1"); & .dropdown-link { padding-inline-start: theme("padding.0"); } } .container--m.container--none-selection { - padding-inline-start: theme("padding.2"); & .dropdown-link { padding-inline-start: theme("padding.0"); } } .container--l.container--none-selection { - padding-inline-start: theme("padding.3"); & .dropdown-link { padding-inline-start: theme("padding.0"); }