Skip to content

Commit

Permalink
fix in vertical padding (#1190)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjagielka authored Dec 22, 2023
1 parent 12281fd commit 61823c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/forms/Input.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
let inputClass: string;
$: {
const _color = color === 'base' && background ? 'tinted' : color;
inputClass = twMerge([defaultClass, ($$slots.left && leftPadding[_size]) || ($$slots.right && rightPadding[_size]) || inputPadding[_size], ringClasses[color], colorClasses[_color], borderClasses[_color], textSizes[_size], group || 'rounded-lg', group && 'first:rounded-s-lg last:rounded-e-lg', group && 'border-s-0 first:border-s last:border-e', $$props.class]);
inputClass = twMerge([defaultClass, inputPadding[_size], ($$slots.left && leftPadding[_size]) || ($$slots.right && rightPadding[_size]), ringClasses[color], colorClasses[_color], borderClasses[_color], textSizes[_size], group || 'rounded-lg', group && 'first:rounded-s-lg last:rounded-e-lg', group && 'border-s-0 first:border-s last:border-e', $$props.class]);
}
</script>

Expand Down

1 comment on commit 61823c7

@vercel
Copy link

@vercel vercel bot commented on 61823c7 Dec 22, 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.