Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix FAB style

dominik-zeglen46ccc4bde7fd
diff --git a/saleor/static/dashboard/scss/components/_buttons.scss b/saleor/static/dashboard/scss/components/_buttons.scss
index 520dc2bfe1..db8fcc1406 100644
--- a/saleor/static/dashboard/scss/components/_buttons.scss
+++ b/saleor/static/dashboard/scss/components/_buttons.scss
@@ -21,6 +21,14 @@
background: unset;
}
}
+ &-fab, &-floating {
+ svg {
+ vertical-align: middle;
+ }
+ &.btn-fab-hidden {
+ transform: scaleX(0) scaleY(0);
+ }
+ }
&-fab {
&-fixed {
@extend .fixed-action-btn;