Skip to content

Commit

Permalink
fix: remove default padding from sidepanel. use default button stylin…
Browse files Browse the repository at this point in the history
…g for cancel button
  • Loading branch information
MildTomato committed May 11, 2022
1 parent cae30c0 commit 5cb89d7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/SidePanel/SidePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const SidePanel = ({
<div className={__styles.footer}>
<Button
disabled={loading}
type="secondary"
type="default"
onClick={() => (onCancel ? onCancel() : null)}
>
{cancelText}
Expand Down
1 change: 0 additions & 1 deletion src/lib/theme/defaultTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,6 @@ export default {
contents: `
relative
flex-1
py-4
overflow-y-auto
`,
content: `
Expand Down

0 comments on commit 5cb89d7

Please sign in to comment.