fixes logo on Safari: parent element must have height, otherwise max-width: 100% on img does not know how to scale (which influences width when scaling by height)

This commit is contained in:
Anton Schegg 2024-08-27 10:25:04 +02:00
parent 35cba95887
commit 04e66dd918

View file

@ -1,6 +1,6 @@
<template>
<header class="flex flex-row h-16 justify-between p-3 md:px-5 bg-white shadow-sm">
<RouterLink to="/" class="flex flex-row gap-2 align-bottom w-fit">
<RouterLink to="/" class="flex flex-row gap-2 align-bottom w-fit h-full">
<img src="/FFW-Logo.svg" alt="LOGO" class="h-full w-auto" />
<h1 v-if="false" class="font-bold text-3xl w-fit whitespace-nowrap">Mitgliederverwaltung</h1>
</RouterLink>