From 868514c4c0f5b707593295bbf79f82a3f736113e Mon Sep 17 00:00:00 2001 From: Renaud Heluin Date: Sun, 11 Aug 2024 04:32:27 +0200 Subject: [PATCH] fix: better space between logo and title in header --- .../src/renderer/components/Header.tsx | 178 +++++++++--------- 1 file changed, 87 insertions(+), 91 deletions(-) diff --git a/electron-app/ecoindex-app/src/renderer/components/Header.tsx b/electron-app/ecoindex-app/src/renderer/components/Header.tsx index 623ef04..2168f5c 100644 --- a/electron-app/ecoindex-app/src/renderer/components/Header.tsx +++ b/electron-app/ecoindex-app/src/renderer/components/Header.tsx @@ -1,96 +1,92 @@ -import logo from '../assets/tete-de-feuille.svg' import { useTranslation } from 'react-i18next' +import logo from '../assets/tete-de-feuille.svg' export const Header = () => { - const { t } = useTranslation() - return ( -
-

-
- {/* icon */} - - eco - - - Index - -
- {t('Desktop')} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

+ const { t } = useTranslation() + return ( +
+

+
+ {/* icon */} + eco + Index
- ) + {t('Desktop')} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+
+ ) }