Skip to content

Commit

Permalink
fix(#1591): Add padding to accordion heading
Browse files Browse the repository at this point in the history
  • Loading branch information
bdfranck authored and ArakTaiRoth committed Apr 11, 2024
1 parent 644b170 commit 1da7466
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions libs/web-components/src/components/accordion/Accordion.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
summary {
min-height: 3.5rem;
padding: var(--goa-space-s) var(--goa-space-m) var(--goa-space-s) 0;
border-width: var(--goa-border-width-s);
border-style: solid;
border-radius: var(--goa-border-radius-m);
Expand All @@ -131,7 +132,7 @@
cursor: pointer;
list-style: none;
display: flex;
align-items: center;
align-items: flex-start;
/* safari hack (see below) */
position: relative;
Expand Down Expand Up @@ -216,7 +217,7 @@
.content :global(::slotted(*:last-child)) {
margin-bottom: 0 !important;
}
details[open] goa-icon {
transform: rotate(90deg);
}
Expand All @@ -236,10 +237,6 @@
.content {
padding: 1.5rem;
}
summary {
padding-bottom: 1rem;
align-items: flex-start;
}
.title {
display: flex;
flex-direction: column;
Expand Down

0 comments on commit 1da7466

Please sign in to comment.