Formatting fixed that affected the Czech version.
This commit is contained in:
@@ -540,6 +540,7 @@ class AddToCartButton extends Component {
|
|||||||
sx={{
|
sx={{
|
||||||
borderRadius: 2,
|
borderRadius: 2,
|
||||||
fontWeight: "bold",
|
fontWeight: "bold",
|
||||||
|
whiteSpace: "nowrap",
|
||||||
"&:hover": {
|
"&:hover": {
|
||||||
backgroundColor: "primary.dark",
|
backgroundColor: "primary.dark",
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ const StyledRouterLink = styled(RouterLink)(() => ({
|
|||||||
lineHeight: '1.5',
|
lineHeight: '1.5',
|
||||||
display: 'block',
|
display: 'block',
|
||||||
padding: '4px 8px',
|
padding: '4px 8px',
|
||||||
|
whiteSpace: 'nowrap',
|
||||||
'&:hover': {
|
'&:hover': {
|
||||||
textDecoration: 'underline',
|
textDecoration: 'underline',
|
||||||
},
|
},
|
||||||
@@ -223,25 +224,13 @@ class Footer extends Component {
|
|||||||
alignItems={{ xs: 'center', md: 'flex-end' }}
|
alignItems={{ xs: 'center', md: 'flex-end' }}
|
||||||
>
|
>
|
||||||
{/* Legal Links Section */}
|
{/* Legal Links Section */}
|
||||||
<Stack
|
<Stack direction="column" spacing={0.5} justifyContent="center" alignItems="flex-start">
|
||||||
direction={{ xs: 'row', md: 'column' }}
|
|
||||||
spacing={{ xs: 2, md: 0.5 }}
|
|
||||||
justifyContent="center"
|
|
||||||
alignItems={{ xs: 'center', md: 'left' }}
|
|
||||||
flexWrap="wrap"
|
|
||||||
>
|
|
||||||
<StyledRouterLink to="/datenschutz">{this.props.t ? this.props.t('footer.legal.datenschutz') : 'Datenschutz'}</StyledRouterLink>
|
<StyledRouterLink to="/datenschutz">{this.props.t ? this.props.t('footer.legal.datenschutz') : 'Datenschutz'}</StyledRouterLink>
|
||||||
<StyledRouterLink to="/agb">{this.props.t ? this.props.t('footer.legal.agb') : 'AGB'}</StyledRouterLink>
|
<StyledRouterLink to="/agb">{this.props.t ? this.props.t('footer.legal.agb') : 'AGB'}</StyledRouterLink>
|
||||||
<StyledRouterLink to="/sitemap">{this.props.t ? this.props.t('footer.legal.sitemap') : 'Sitemap'}</StyledRouterLink>
|
<StyledRouterLink to="/sitemap">{this.props.t ? this.props.t('footer.legal.sitemap') : 'Sitemap'}</StyledRouterLink>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|
||||||
<Stack
|
<Stack direction="column" spacing={0.5} justifyContent="center" alignItems="flex-start">
|
||||||
direction={{ xs: 'row', md: 'column' }}
|
|
||||||
spacing={{ xs: 2, md: 0.5 }}
|
|
||||||
justifyContent="center"
|
|
||||||
alignItems={{ xs: 'center', md: 'left' }}
|
|
||||||
flexWrap="wrap"
|
|
||||||
>
|
|
||||||
<StyledRouterLink to="/impressum">{this.props.t ? this.props.t('footer.legal.impressum') : 'Impressum'}</StyledRouterLink>
|
<StyledRouterLink to="/impressum">{this.props.t ? this.props.t('footer.legal.impressum') : 'Impressum'}</StyledRouterLink>
|
||||||
<StyledRouterLink to="/batteriegesetzhinweise">{this.props.t ? this.props.t('footer.legal.batteriegesetzhinweise') : 'Batteriegesetzhinweise'}</StyledRouterLink>
|
<StyledRouterLink to="/batteriegesetzhinweise">{this.props.t ? this.props.t('footer.legal.batteriegesetzhinweise') : 'Batteriegesetzhinweise'}</StyledRouterLink>
|
||||||
<StyledRouterLink to="/widerrufsrecht">{this.props.t ? this.props.t('footer.legal.widerrufsrecht') : 'Widerrufsrecht'}</StyledRouterLink>
|
<StyledRouterLink to="/widerrufsrecht">{this.props.t ? this.props.t('footer.legal.widerrufsrecht') : 'Widerrufsrecht'}</StyledRouterLink>
|
||||||
@@ -346,7 +335,7 @@ class Footer extends Component {
|
|||||||
|
|
||||||
{/* Copyright Section */}
|
{/* Copyright Section */}
|
||||||
<Box sx={{ pb: 0, textAlign: 'center', filter: 'drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3))', opacity: 0.7 }}>
|
<Box sx={{ pb: 0, textAlign: 'center', filter: 'drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3))', opacity: 0.7 }}>
|
||||||
<Typography variant="body2" sx={{ mb: 1, fontSize: { xs: '11px', md: '14px' }, lineHeight: 1.5 }}>
|
<Typography variant="body2" sx={{ mb: 1, fontSize: { xs: '11px', md: '14px' }, lineHeight: 1.5, whiteSpace: 'nowrap' }}>
|
||||||
{this.props.t ? this.props.t('footer.allPricesIncl') : '* Alle Preise inkl. gesetzlicher USt., zzgl. Versand'}
|
{this.props.t ? this.props.t('footer.allPricesIncl') : '* Alle Preise inkl. gesetzlicher USt., zzgl. Versand'}
|
||||||
</Typography>
|
</Typography>
|
||||||
<Typography
|
<Typography
|
||||||
|
|||||||
@@ -183,7 +183,7 @@ class CategoryList extends Component {
|
|||||||
display: "flex",
|
display: "flex",
|
||||||
justifyContent: "flex-start",
|
justifyContent: "flex-start",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
flexWrap: "wrap",
|
flexWrap: isMobile ? "wrap" : "nowrap",
|
||||||
overflowX: "visible",
|
overflowX: "visible",
|
||||||
flexDirection: isMobile ? "column" : "row",
|
flexDirection: isMobile ? "column" : "row",
|
||||||
py: 0.5, // Add vertical padding to prevent border clipping
|
py: 0.5, // Add vertical padding to prevent border clipping
|
||||||
|
|||||||
Reference in New Issue
Block a user