Skip to content

Commit

Permalink
Update button style
Browse files Browse the repository at this point in the history
  • Loading branch information
rayc2045 committed May 9, 2024
1 parent 2317e6e commit fed6a75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const style = {
footer: 'text-gray-700 hover:underline',
},
btn: {
raw: 'inline-block px-4 py-3 flex items-center rounded-md text-sm border-2 select-none font-medium active:scale-95 transition',
raw: 'inline-block px-4 py-3 flex justify-center items-center rounded-md text-sm border-2 select-none font-medium active:scale-95 transition',
get dark() {
return `${this.raw} text-zinc-100 bg-zinc-600 border-zinc-600 hover:bg-zinc-700 hover:border-zinc-700`;
},
Expand Down

0 comments on commit fed6a75

Please sign in to comment.