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;