From 15cf103dfab43ddff76e7da96a1b9d9c4a018658 Mon Sep 17 00:00:00 2001 From: JonFreer Date: Sat, 12 Aug 2023 22:24:39 +0100 Subject: [PATCH] ui: rounded inputs --- js/src/assets/oruga-tailwindcss.css | 2 +- js/src/oruga-config.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/js/src/assets/oruga-tailwindcss.css b/js/src/assets/oruga-tailwindcss.css index 79282bfe..81d623e0 100644 --- a/js/src/assets/oruga-tailwindcss.css +++ b/js/src/assets/oruga-tailwindcss.css @@ -89,7 +89,7 @@ body { /* Input */ .input { - @apply appearance-none box-border border w-full py-2 px-3 text-black leading-tight dark:bg-zinc-600 dark:placeholder:text-zinc-400 dark:text-zinc-50; + @apply appearance-none box-border rounded border w-full py-2 px-3 text-black leading-tight dark:bg-zinc-600 dark:placeholder:text-zinc-400 dark:text-zinc-50; } .input-danger { @apply border-red-500; diff --git a/js/src/oruga-config.ts b/js/src/oruga-config.ts index f3101b62..165c37a3 100644 --- a/js/src/oruga-config.ts +++ b/js/src/oruga-config.ts @@ -25,6 +25,7 @@ export const orugaConfig = { }, inputitems: { itemClass: "inputitems-item", + containerClass: "rounded", }, autocomplete: { menuClass: "autocomplete-menu",