Skip to content

Commit

Permalink
textbox css done
Browse files Browse the repository at this point in the history
  • Loading branch information
SomewhatMay committed Mar 9, 2024
1 parent b24df60 commit 523f600
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/lib/components/FormFlow/Input.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
</script>

<div
class="sm:flex justify-between items-center gap-2"
class="justify-between items-center gap-2"
class:sm:flex={input.component.type != "Textbox"}
class:flex={input.component.type == "Checkbox"}
>
<span
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/FormFlow/Textbox.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<div class="flex relative">
<textarea
bind:value={$activeResponses[id].data[component.id]}
class="flex-auto h-[20vh] min-h-16 max-h-[60vh] bg-primary w-64 rounded-xl px-4 py-2 text-white remove-arrow focus:drop-shadow-btn-hover min-w-9 scroll scrollbar-thin scrollbar-thumb-enabled scrollbar-track-background"
class="flex-auto h-[20vh] my-2 min-h-16 max-h-[60vh] bg-primary w-64 rounded-xl px-4 py-2 text-white remove-arrow focus:drop-shadow-btn-hover min-w-9 scroll scrollbar-thin scrollbar-thumb-enabled scrollbar-track-background"
></textarea>
{#if component.maxLength!=null}
<span
Expand Down

0 comments on commit 523f600

Please sign in to comment.