Skip to content

Commit

Permalink
Merge branch 'develop' into feat/rotation-icon
Browse files Browse the repository at this point in the history
  • Loading branch information
jialin-he authored Jan 24, 2025
2 parents f563cd3 + ecff778 commit 972f088
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/silver-suits-wait.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ithaka/pharos': patch
---

Update the close button in sidenav
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 972f088

Please sign in to comment.