Skip to content

Commit

Permalink
fix footer logos on firefox (#99)
Browse files Browse the repository at this point in the history
* fix footer logos on firefox

* fix: footer logo margin

---------

Co-authored-by: Moritz Stückler <[email protected]>
  • Loading branch information
Shorty1o1 and pReya authored Aug 22, 2023
1 parent b2b5f04 commit 3e638ae
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 20 deletions.
2 changes: 1 addition & 1 deletion src/assets/giz_logo_en.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/assets/giz_logo_ua.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/assets/giz_zusammenarbeit.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 13 additions & 1 deletion src/assets/hiww_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 13 additions & 16 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,27 +60,24 @@ const Footer: React.FC<Props> = ({ className, menu, locale }: Props) => {
</div>
</div>
</div>
<div className="flex-1 flex flex-col sm:gap-[10%] sm:flex-row gap-0 text-sm">
<div className="flex-1 flex flex-col sm:gap-[10%] sm:flex-row mt-10 lg:mt-0 gap-0 text-sm sm:h-64">
<a
className="mt-10 sm:mt-0 flex items-center justify-center"
href="https://www.giz.de"
target="_blank"
>
<GizZusammenarbeitSvg />
className={'mt-10 sm:mt-0 h-full flex-shrink'}
href="https://www.giz.de"
target="_blank">
<GizZusammenarbeitSvg className={'h-full w-full'} />
</a>
<a
className="-mt-12 sm:mt-0 flex items-center justify-center"
href="https://www.giz.de"
target="_blank"
>
{locale === "ua" ? <GizLogoSvgUA /> : <GizLogoSvgEN />}
className={'-mt-12 sm:mt-0 h-full flex-shrink'}
href="https://www.giz.de"
target="_blank">
{locale === "ua" ? <GizLogoSvgUA className={'h-full'} /> : <GizLogoSvgEN className={'h-full w-full'} />}
</a>
<a
className="-mt-60 sm:mt-0 flex items-center justify-center"
href="https://www.hiww.de"
target="_blank"
>
<HiwwLogoSvg />
className={'-mt-60 sm:mt-0 h-full flex-shrink'}
href="https://www.hiww.de"
target="_blank">
<HiwwLogoSvg className={'h-full w-full'}/>
</a>
</div>
</div>
Expand Down

0 comments on commit 3e638ae

Please sign in to comment.