diff --git a/src/components/AddToCartButton.js b/src/components/AddToCartButton.js index 6683226..5942cdf 100644 --- a/src/components/AddToCartButton.js +++ b/src/components/AddToCartButton.js @@ -540,6 +540,7 @@ class AddToCartButton extends Component { sx={{ borderRadius: 2, fontWeight: "bold", + whiteSpace: "nowrap", "&:hover": { backgroundColor: "primary.dark", }, diff --git a/src/components/Footer.js b/src/components/Footer.js index de24ec8..f9e3fe1 100644 --- a/src/components/Footer.js +++ b/src/components/Footer.js @@ -16,6 +16,7 @@ const StyledRouterLink = styled(RouterLink)(() => ({ lineHeight: '1.5', display: 'block', padding: '4px 8px', + whiteSpace: 'nowrap', '&:hover': { textDecoration: 'underline', }, @@ -223,25 +224,13 @@ class Footer extends Component { alignItems={{ xs: 'center', md: 'flex-end' }} > {/* Legal Links Section */} - + {this.props.t ? this.props.t('footer.legal.datenschutz') : 'Datenschutz'} {this.props.t ? this.props.t('footer.legal.agb') : 'AGB'} {this.props.t ? this.props.t('footer.legal.sitemap') : 'Sitemap'} - + {this.props.t ? this.props.t('footer.legal.impressum') : 'Impressum'} {this.props.t ? this.props.t('footer.legal.batteriegesetzhinweise') : 'Batteriegesetzhinweise'} {this.props.t ? this.props.t('footer.legal.widerrufsrecht') : 'Widerrufsrecht'} @@ -346,7 +335,7 @@ class Footer extends Component { {/* Copyright Section */} - + {this.props.t ? this.props.t('footer.allPricesIncl') : '* Alle Preise inkl. gesetzlicher USt., zzgl. Versand'}