We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ab6791 commit 3cd999dCopy full SHA for 3cd999d
1 file changed
core/src/components/accordion/accordion.tsx
@@ -206,15 +206,9 @@ export class Accordion implements ComponentInterface {
206
ionItem.lines = 'full';
207
}
208
209
- /**
210
- * Ionic theme: mark header items so `item.ionic.scss` can set pressed tokens.
211
- * We cannot use `:host-context(ion-accordion)` for this — that selector is dropped
212
- * in WebKit/Firefox (see `mixins.scss` notes on `:host-context`), which breaks
213
- * screenshot tests and real Safari.
214
- */
215
- if (getIonTheme(this) === 'ionic') {
216
- ionItem.classList.add('accordion-header-item');
217
- }
+
+ ionItem.classList.add('accordion-header-item');
218
};
219
220
private getSlottedHeaderIonItem = () => {
0 commit comments