Skip to content

Commit

Permalink
padding for xs and xl
Browse files Browse the repository at this point in the history
  • Loading branch information
joesobo committed Feb 23, 2023
1 parent 06ba913 commit dcff6dd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/beige-peas-reflect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@poleski/button": patch
---

Add padding for xs and xl and remove margin
6 changes: 2 additions & 4 deletions packages/ui/src/button/src/Button.vue
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ const classes = computed(() => {
'bg-white',
'focus:ring-4',
'font-medium',
'mr-2',
'mb-2',
'focus:outline-none',
'flex',
'justify-center',
Expand Down Expand Up @@ -136,11 +134,11 @@ const classes = computed(() => {
'text-white bg-gradient-to-br from-purple-600 to-blue-500 hover:bg-gradient-to-bl focus:ring-4 focus:outline-none focus:ring-blue-300 dark:focus:ring-blue-800',
},
size: {
xs: 'text-xs px-4 py-2',
xs: 'text-xs px-2 py-1',
sm: 'text-xs px-4 py-2',
md: 'text-sm px-5 py-2.5',
lg: 'text-base px-6 py-3',
xl: 'text-base px-6 py-3',
xl: 'text-base px-8 py-4',
},
shadow: {
blue: 'shadow-lg shadow-blue-500/50 dark:shadow-lg dark:shadow-blue-800/80',
Expand Down

1 comment on commit dcff6dd

@vercel
Copy link

@vercel vercel bot commented on dcff6dd Feb 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.