Skip to content

Commit

Permalink
fix(accordion): removing base accordion styles variable (#2643)
Browse files Browse the repository at this point in the history
  • Loading branch information
brianferry authored Nov 2, 2023
1 parent 2c019ac commit dc7b07e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions elements/pf-accordion/BaseAccordion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ export class AccordionCollapseEvent extends ComposedEvent {
}

export abstract class BaseAccordion extends LitElement {
static readonly styles = [];

static isAccordion(target: EventTarget | null): target is BaseAccordion {
return target instanceof BaseAccordion;
}
Expand Down
2 changes: 1 addition & 1 deletion elements/pf-accordion/pf-accordion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import style from './pf-accordion.css';
*/
@customElement('pf-accordion')
export class PfAccordion extends BaseAccordion {
static readonly styles = [...BaseAccordion.styles, style];
static readonly styles = [style];

/** When true, only one accordion panel may be expanded at a time */
@property({ reflect: true, type: Boolean }) single = false;
Expand Down

0 comments on commit dc7b07e

Please sign in to comment.