Skip to content

Commit

Permalink
feat(sidenav): change close button style
Browse files Browse the repository at this point in the history
  • Loading branch information
jialin-he committed Jan 24, 2025
1 parent 723d6eb commit d57ed38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/pharos/src/components/sidenav/pharos-sidenav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
opacity: 0;
position: absolute;
top: var(--pharos-spacing-one-quarter-x);
left: var(--pharos-spacing-one-quarter-x);
right: var(--pharos-spacing-one-quarter-x);
}

:host([has-close-button]) {
Expand Down
2 changes: 1 addition & 1 deletion packages/pharos/src/components/sidenav/pharos-sidenav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export class PharosSidenav extends ScopedRegistryMixin(FocusMixin(SideElement))
return this.hasCloseButton
? html`<pharos-button
class="side-element__button"
icon="close"
icon="chevron-left"
variant="subtle"
a11y-label="Close menu"
is-on-background
Expand Down

0 comments on commit d57ed38

Please sign in to comment.