From aafe849e6e602622b3ac1c6c0b94b5f99a36c1c1 Mon Sep 17 00:00:00 2001 From: Thomas Ruoff Date: Wed, 7 Oct 2020 22:35:32 +0200 Subject: [PATCH] add waiting on disabled button --- styles/index.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/styles/index.css b/styles/index.css index 3303165..6aa7a31 100644 --- a/styles/index.css +++ b/styles/index.css @@ -71,6 +71,10 @@ @apply text-gray-800; } +.ibtn:disabled { + @apply opacity-50 cursor-wait; +} + .btn { @apply font-bold py-2 px-4 rounded mx-2; } @@ -103,6 +107,10 @@ @apply bg-gray-700; } +.btn:disabled { + @apply opacity-50 cursor-wait; +} + .link { @apply font-medium text-blue-500 underline; }