Skip to content

Commit

Permalink
IconButton: add padding and update dashboard drawer close icon (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
ugtthis authored Jun 11, 2024
1 parent 0ec254a commit 3645972
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/material/IconButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const IconButton: Component<IconButtonProps> = (props) => {
return (
<ButtonBase
class={clsx(
'state-layer inline-flex items-center justify-center rounded-full before:rounded-full before:bg-on-surface',
'state-layer inline-flex items-center justify-center rounded-full before:rounded-full before:bg-on-surface p-2',
buttonSize,
props.class,
)}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/dashboard/Dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const DashboardDrawer = (props: {
<>
<TopAppBar
as="h1"
leading={<IconButton onClick={props.onClose}>menu</IconButton>}
leading={<IconButton onClick={props.onClose}>arrow_back</IconButton>}
>
comma connect
</TopAppBar>
Expand Down

0 comments on commit 3645972

Please sign in to comment.