Skip to content

Commit

Permalink
chore: tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm committed Feb 13, 2024
1 parent 98159b8 commit 0bef1b2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/dev/components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ function Button(props: ButtonProps) {
return (
<div x-data="{ open: false }" class="relative">
<button class={buttonClass} type="button" x-on:click="open = true">
{innerHtml}
<div style={{ marginTop: '2px' }}>{innerHtml}</div>
{type === 'link' && linkIcon}
</button>

Expand All @@ -187,19 +187,19 @@ function Button(props: ButtonProps) {
</p>
<div class="flex gap-1.5 mt-1">
<button
class="bg-bg border rounded-sm w-full text-sm font-bold py-1"
class="bg-bg border rounded-md w-full text-sm font-bold py-1"
type="button"
x-on:click="open = false"
>
Cancel
<div style={{ marginTop: '1px' }}>Cancel</div>
</button>
<button
class="bg-er border-er rounded-sm w-full text-sm text-white font-bold py-1"
class="bg-er border-er rounded-md w-full text-sm text-white font-bold py-1"
target="_blank"
type="button"
x-on:click={`open = false; window.open('${target}', '_blank');`}
>
I Understand
<div style={{ marginTop: '1px' }}>I Understand</div>
</button>
</div>
</div>
Expand Down

0 comments on commit 0bef1b2

Please sign in to comment.