diff --git a/src/App.svelte b/src/App.svelte index 1150ec2..ce67208 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -199,6 +199,9 @@ .widget-input-indigo { @apply content-center pr-4 py-1 bg-gray-200 appearance-none border-2 border-gray-200 rounded w-full text-gray-700 leading-tight focus:outline-none focus:bg-white focus:border-indigo-500; } + .widget-input-red { + @apply content-center pr-4 py-1 bg-gray-200 appearance-none border-2 border-gray-200 rounded w-full text-gray-700 leading-tight focus:outline-none focus:bg-white border-red-500; + } .widget-after { @apply pr-4 block text-gray-500 font-bold md:text-right; } diff --git a/src/widgets/Input.svelte b/src/widgets/Input.svelte index d3a6d0d..1b7e8b3 100644 --- a/src/widgets/Input.svelte +++ b/src/widgets/Input.svelte @@ -3,9 +3,7 @@
@@ -16,16 +14,16 @@
{#if widget.type == "number"} - + {/if} {#if widget.type == "text"} - + {/if} {#if widget.type == "date"} - + {/if} {#if widget.type == "time"} - + {/if}