Skip to content

Commit

Permalink
fix(header): fix resizing behaviour on browser zoom
Browse files Browse the repository at this point in the history
  • Loading branch information
WesselvanDam committed Oct 26, 2024
1 parent 1d7948f commit 92274cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/Header.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script>
</script>

<div class="relative">
<div class="relative w-full">
<img src="/img/header.jpg" alt="Header" class="w-full" />
<div class="absolute top-1/2 w-2/5 -translate-y-1/2 right-0 -translate-x-1/4">
<img src="/img/logo.svg" alt="Logo" class="w-full" />
Expand Down

0 comments on commit 92274cd

Please sign in to comment.