Skip to content

Commit

Permalink
Removed sticky bottom footer since it breaks for responsive screens
Browse files Browse the repository at this point in the history
Fixed images stretching with small screens
Fixed some issues with small screens
  • Loading branch information
ac-jorellanaf committed Nov 29, 2024
1 parent 4314ab8 commit 398a7d1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<app-site-header></app-site-header>
</header>

<main class="p-5 pb-96">
<main class="break-words p-5 text-lg">
<router-outlet />
<app-show-session></app-show-session>
</main>

<footer class="absolute bottom-0 w-full">
<footer>
<app-site-footer></app-site-footer>
</footer>
</div>
12 changes: 7 additions & 5 deletions src/app/portal/features/site-footer/site-footer.component.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<nav class="mt-2" color="primary">
<div class="pt-px-5 flex justify-around pb-5 no-underline">
<nav class="mt-2 w-full" color="primary">
<div class="pt-px-5 flex flex-wrap justify-around pb-5 no-underline">
<a routerLink="/" class="mx-12 content-center text-center"
><img src="assets/images/GHGA_logo.png" alt="GHGA Logo" class="h-24" /></a
><img src="assets/images/GHGA_logo.png" alt="GHGA Logo" class="max-h-24" /></a
><a href="https://ghga.de" class="mx-12 grow content-center text-center"
><span><mat-icon inline="true">globe</mat-icon></span
>GHGA Website</a
Expand All @@ -18,7 +18,9 @@
</div>
<div class="swirl"></div>
</nav>
<div class="icons-div mb-2 flex justify-center text-center text-4xl no-underline">
<div
class="icons-div mb-2 flex w-full flex-wrap justify-center text-center text-4xl no-underline"
>
<a href="https://genomic.social/@ghga"
><mat-icon inline="true" fontSet="fab" fontIcon="fa-mastodon"></mat-icon
></a>
Expand All @@ -38,7 +40,7 @@
><mat-icon inline="true">email</mat-icon></a
>
</div>
<div class="pb-4 text-sm">
<div class="w-full pb-4 text-sm">
<p class="text-center">©{{ year }} GHGA. All Rights Reserved.</p>
<p class="text-center">
<a href="https://www.ghga.de/imprint" class="underline">Imprint</a> |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<mat-toolbar class="py-2">
<mat-toolbar-row class="align-center flex justify-between">
<div class="h-3/4 basis-1/4">
<div class="flex h-3/4 basis-1/4 items-center">
<a routerLink="/"
><img src="assets/images/GHGA_logo_clean.png" class="h-full" alt="GHGA Logo"
><img src="assets/images/GHGA_logo_clean.png" class="max-h-12" alt="GHGA Logo"
/></a>
</div>

Expand Down

0 comments on commit 398a7d1

Please sign in to comment.