Skip to content

Commit

Permalink
🐛 button icon width fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nanarino committed Jan 3, 2024
1 parent 5766a4c commit 3397ab1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/components/header/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ const { href } = Astro.props;
class={`${prefix}-button`}
title="menu"
data-collapsed
data-square
type="button"
>
<Icon name="direction/outline/menu-fold" />
<Icon name="direction/outline/menu-unfold" />
Expand Down
3 changes: 1 addition & 2 deletions src/components/header/menu-toggle.styl
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#header-menu-toggle
display grid
width 32px
height 32px
padding 5px
font-size 22px
@media screen and (min-width 768px)
display none
svg
Expand Down

0 comments on commit 3397ab1

Please sign in to comment.