From ee83f213bd714e380bd81284ce962cd89cf7a33c Mon Sep 17 00:00:00 2001
From: "duncan@dtail-design.nl" <duncan@dtail-design.nl>
Date: Sun, 31 Mar 2024 00:23:46 +0100
Subject: [PATCH] fix(button): line-height for button icon fix

---
 libs/shared/lib/components/buttons/buttons.module.scss      | 4 +++-
 libs/shared/lib/components/buttons/buttons.module.scss.d.ts | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/libs/shared/lib/components/buttons/buttons.module.scss b/libs/shared/lib/components/buttons/buttons.module.scss
index 404ec1486..ec502e7d7 100644
--- a/libs/shared/lib/components/buttons/buttons.module.scss
+++ b/libs/shared/lib/components/buttons/buttons.module.scss
@@ -42,7 +42,9 @@
     @apply cursor-not-allowed;
   }
 }
-
+.btn-icon-only {
+  line-height: 1;
+}
 .btn-lg {
   @apply text-lg h-10 gap-1.5;
   &.btn-icon-only {
diff --git a/libs/shared/lib/components/buttons/buttons.module.scss.d.ts b/libs/shared/lib/components/buttons/buttons.module.scss.d.ts
index 1ce559159..83aafa791 100644
--- a/libs/shared/lib/components/buttons/buttons.module.scss.d.ts
+++ b/libs/shared/lib/components/buttons/buttons.module.scss.d.ts
@@ -1,7 +1,7 @@
 declare const classNames: {
   readonly btn: 'btn';
-  readonly 'btn-lg': 'btn-lg';
   readonly 'btn-icon-only': 'btn-icon-only';
+  readonly 'btn-lg': 'btn-lg';
   readonly 'btn-md': 'btn-md';
   readonly 'btn-sm': 'btn-sm';
   readonly 'btn-xs': 'btn-xs';
-- 
GitLab