File tree Expand file tree Collapse file tree 3 files changed +11
-7
lines changed
app/[locale]/(main)/(container) Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 1- import {
2- MOBILE_BUY_BOX_HEIGHT ,
3- MOBILE_FOOTER_HEIGHT ,
4- } from '@/config/responsive' ;
1+ import { MOBILE_FOOTER_HEIGHT } from '@/config/responsive' ;
52import { Container } from '@mui/material' ;
63import { FC , ReactNode } from 'react' ;
74
@@ -15,7 +12,7 @@ const Layout: FC<Layout> = async ({ children }) => {
1512 maxWidth = "xl"
1613 sx = { {
1714 mt : 3 ,
18- pb : { xs : `${ MOBILE_FOOTER_HEIGHT + MOBILE_BUY_BOX_HEIGHT } px` , md : 0 } ,
15+ pb : { xs : `${ MOBILE_FOOTER_HEIGHT } px` , md : 0 } ,
1916 minHeight : '70vh' ,
2017 } }
2118 >
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import ProductGallery from './components/ProductGallery';
1212import ProductTabs from './components/ProductTabs' ;
1313import SizeSelector from './components/SizeSelector' ;
1414import ProductProvider from './providers/ProductProvider' ;
15+ import { MOBILE_BUY_BOX_HEIGHT } from '@/config/responsive' ;
1516
1617type PageProps = {
1718 params : { params : string [ ] } ;
@@ -61,7 +62,13 @@ const Page: FC<PageProps> = async ({ params: { params } }) => {
6162 selectedVariantId : null ,
6263 } }
6364 >
64- < Grid container spacing = { 2 } >
65+ < Grid
66+ container
67+ spacing = { 2 }
68+ sx = { {
69+ pb : { xs : `${ MOBILE_BUY_BOX_HEIGHT } px` } ,
70+ } }
71+ >
6572 < Grid item md = { 5 } xs = { 12 } >
6673 < ProductGallery
6774 thumbnail = { product . image }
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ const MobileFooter = () => {
6868 position : 'fixed' ,
6969 bottom : 0 ,
7070 boxShadow : ( theme ) => theme . shadows [ 3 ] ,
71- zIndex : 2000 ,
71+ zIndex : 1290 ,
7272 } }
7373 >
7474 < MuiBottomNavigation
You can’t perform that action at this time.
0 commit comments