Skip to content

Commit

Permalink
fix: textarea inner rounded (#1141)
Browse files Browse the repository at this point in the history
  • Loading branch information
KKishikawa authored Nov 2, 2023
1 parent 6d4c37d commit 6995e54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/forms/Textarea.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
const headerClass = (header: boolean) => twMerge(header ? 'border-b' : 'border-t', 'py-2 px-3 border-gray-200 dark:border-gray-600');
let innerWrapperClass: string;
$: innerWrapperClass = twMerge(innerWrappedClass, $$slots.footer ? 'rounded-b-lg' : '', $$slots.header ? 'rounded-t-lg' : '');
$: innerWrapperClass = twMerge(innerWrappedClass, $$slots.footer ? '' : 'rounded-b-lg', $$slots.header ? '' : 'rounded-t-lg');
</script>

<Wrapper show={wrapped} class={wrapperClass}>
Expand Down

2 comments on commit 6995e54

@vercel
Copy link

@vercel vercel bot commented on 6995e54 Nov 2, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 6995e54 Nov 2, 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.