Skip to content

Commit a0b56f4

Browse files
authored
fix: prevent extra vertical padding with filled variant (#6075)
1 parent 38a1e35 commit a0b56f4

3 files changed

Lines changed: 5 additions & 0 deletions

File tree

-108 Bytes
Loading
-108 Bytes
Loading

‎packages/accordion/theme/lumo/vaadin-accordion-heading-styles.js‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ const accordionHeading = css`
99
[part='content'] {
1010
padding: var(--lumo-space-s) 0;
1111
}
12+
13+
:host([theme~='filled']) {
14+
padding-top: 0;
15+
padding-bottom: 0;
16+
}
1217
`;
1318

1419
registerStyles('vaadin-accordion-heading', [detailsSummary, accordionHeading], { moduleId: 'lumo-accordion-heading' });

0 commit comments

Comments
 (0)