Skip to content

Commit 1e9a793

Browse files
committed
fix(button): centering symbol (tailwind conflict)
1 parent 4df42b1 commit 1e9a793

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

projects/ngx-scrolltop/src/lib/ngx-scrolltop.component.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ button {
3838
}
3939
}
4040
svg {
41+
display: inline-flex; // Ensure the SVG is centered horizontally and not conflicting with tailwindcss
4142
transform: translateY(10%); // Centering no-rectangle symbols
4243
width: $svg-size;
4344
vertical-align: baseline;

0 commit comments

Comments
 (0)