Skip to content

Commit

Permalink
fix(dropdown-item): align items with heading in selection-mode: none (#…
Browse files Browse the repository at this point in the history
…3690)

Co-authored-by: Eliza Khachatryan <eli97736@esri.com>
  • Loading branch information
Elijbet and Elijbet authored Dec 13, 2021
1 parent 0652b56 commit 5a139fa
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/components/calcite-dropdown-item/calcite-dropdown-item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,18 @@
padding-inline-start: theme("padding.10");
}

.container--s.container--none-selection {
padding-inline-start: theme("padding.1");
}

.container--m.container--none-selection {
padding-inline-start: theme("padding.2");
}

.container--l.container--none-selection {
padding-inline-start: theme("padding.3");
}

@mixin itemStyling {
@apply flex
flex-grow
Expand Down

0 comments on commit 5a139fa

Please sign in to comment.