From 3adc1917f6fab83aa9670d78366a243de093368d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Tue, 27 Jun 2023 19:18:33 +0200 Subject: [PATCH] Improve outline button style, use everywhere --- app/assets/stylesheets/components/buttons.css | 8 ++++---- app/views/admin/settings/services/_discourse.html.erb | 6 +++--- app/views/invitations/index.html.erb | 2 +- app/views/services/lightning/index.html.erb | 6 +++--- app/views/settings/_account.html.erb | 4 ++-- app/views/settings/_profile.html.erb | 6 +++--- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/app/assets/stylesheets/components/buttons.css b/app/assets/stylesheets/components/buttons.css index d8730db..b879634 100644 --- a/app/assets/stylesheets/components/buttons.css +++ b/app/assets/stylesheets/components/buttons.css @@ -14,12 +14,12 @@ @apply py-1 px-2 text-sm; } - .btn-outline { - @apply border-2 border-gray-100 hover:bg-gray-100; + .btn-icon { + @apply py-2 px-3; } - .btn-icon { - @apply px-3; + .btn-outline { + @apply py-2 border-2 border-gray-100 hover:bg-gray-100; } .btn-gray { diff --git a/app/views/admin/settings/services/_discourse.html.erb b/app/views/admin/settings/services/_discourse.html.erb index a4b557f..63cd589 100644 --- a/app/views/admin/settings/services/_discourse.html.erb +++ b/app/views/admin/settings/services/_discourse.html.erb @@ -30,14 +30,14 @@ - diff --git a/app/views/invitations/index.html.erb b/app/views/invitations/index.html.erb index e54ee68..f78851e 100644 --- a/app/views/invitations/index.html.erb +++ b/app/views/invitations/index.html.erb @@ -8,7 +8,7 @@