From 1e9a793e906b25411af6a809d7dc11b23377f9d2 Mon Sep 17 00:00:00 2001 From: BART! Date: Fri, 14 Jun 2024 11:02:03 +0200 Subject: [PATCH] fix(button): centering symbol (tailwind conflict) --- projects/ngx-scrolltop/src/lib/ngx-scrolltop.component.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/ngx-scrolltop/src/lib/ngx-scrolltop.component.scss b/projects/ngx-scrolltop/src/lib/ngx-scrolltop.component.scss index c450223..2e7d3b9 100644 --- a/projects/ngx-scrolltop/src/lib/ngx-scrolltop.component.scss +++ b/projects/ngx-scrolltop/src/lib/ngx-scrolltop.component.scss @@ -38,6 +38,7 @@ button { } } svg { + display: inline-flex; // Ensure the SVG is centered horizontally and not conflicting with tailwindcss transform: translateY(10%); // Centering no-rectangle symbols width: $svg-size; vertical-align: baseline;