From 516c333bffb6f0510c73f7249359624b09c028a0 Mon Sep 17 00:00:00 2001 From: Florian Sommariva Date: Fri, 30 Jun 2023 15:03:14 +0200 Subject: [PATCH] Use tailwind to style MapDetails component --- frontend/src/styles/global.css | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/frontend/src/styles/global.css b/frontend/src/styles/global.css index dab6d978c..c4f2599c7 100644 --- a/frontend/src/styles/global.css +++ b/frontend/src/styles/global.css @@ -3,51 +3,43 @@ @tailwind utilities; .input { - @apply - bg-white + @apply bg-white border border-solid border-primary1 focus:border-primary1-light - font-main + font-main hover:border-primary1-light placeholder-opacity-80 p-2 rounded - w-full - ; + w-full; } .input[readonly], .input[disabled] { - @apply - bg-greySoft + @apply bg-greySoft border-greySoft focus:border-greySoft - hover:border-greySoft - ; + hover:border-greySoft; } .input[aria-invalid] { - @apply - border-hardKO - ; + @apply border-hardKO; } .textarea { - @apply - bg-white + @apply bg-white border border-solid border-primary1 focus:border-primary1-light - font-main + font-main h-15 hover:border-primary1-light placeholder-opacity-80 p-2 rounded - w-full - ; + w-full; } .hasDrawer .leaflet-bottom {