From 9054c8d2fd069861f5cf4b0f1e7d6f0285d6a937 Mon Sep 17 00:00:00 2001 From: sebseb7 Date: Tue, 31 Mar 2026 10:00:13 +0200 Subject: [PATCH] Formatting fixed that affected the Czech version. --- src/components/AddToCartButton.js | 1 + src/components/Footer.js | 19 ++++--------------- src/components/header/CategoryList.js | 2 +- 3 files changed, 6 insertions(+), 16 deletions(-) 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'}