Skip to content

Commit

Permalink
fix(accordion-item): last item’s border block end
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonailea committed Jul 10, 2024
1 parent fb03f55 commit 5120054
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ calcite-icon {
.content {
@apply hidden;
padding: var(--calcite-internal-accordion-item-content-space);
padding-block-start: 0px;
padding-block-start: 0;
text-align: initial;
}

Expand Down Expand Up @@ -198,10 +198,7 @@ calcite-icon {
:host(:last-child) {
.content,
.header {
border-block-end-color: var(
--calcite-accordion-item-border-color,
var(--calcite-accordion-border-color, var(--calcite-color-border-2))
);
border-block-end-color: var(--calcite-accordion-border-color, var(--calcite-color-border-2));
}
}

Expand Down

0 comments on commit 5120054

Please sign in to comment.