fix(ux): replace overwritten transform on floating action bars to fix overflow centering on mobile devices
This commit is contained in:
1 parent
744d8c8dcf
commit
2097bc477a
1 file changed
+4
-2
@@ -36,8 +36,10 @@ export const FloatingActionBar: React.FC<FloatingActionBarProps> = ({
|
|||||||
sx={{
|
sx={{
|
||||||
position: "fixed",
|
position: "fixed",
|
||||||
bottom: theme.spacing(LAYOUT.XS),
|
bottom: theme.spacing(LAYOUT.XS),
|
||||||
left: "50%",
|
left: 0,
|
||||||
transform: "translateX(-50%)",
|
right: 0,
|
||||||
|
margin: "0 auto",
|
||||||
|
width: "max-content",
|
||||||
zIndex: theme.zIndex.snackbar,
|
zIndex: theme.zIndex.snackbar,
|
||||||
px: LAYOUT.MD,
|
px: LAYOUT.MD,
|
||||||
py: LAYOUT.XS,
|
py: LAYOUT.XS,
|
||||||
|
|||||||
Reference in new issue
Block a user