fix: Gerätestandort im Header jetzt einzeilig – kein Zeilenumbruch mehr

- whitespace-nowrap verhindert Umbruch
- truncate + max-w beschränkt Länge visuell
- bessere Darstellung auch bei hoher Auflösung
This commit is contained in:
Ismail Ali
2025-04-30 22:54:12 +02:00
parent 40777f212b
commit 823d12fcea
6 changed files with 73 additions and 41 deletions

View File

@@ -95,11 +95,11 @@ function Header() {
height={60}
priority
/>
<div className="flex flex-col leading-tight">
<div className="flex flex-col leading-tight whitespace-nowrap">
<h2 className="text-xl laptop:text-base xl:text-lg font-bold">
Meldestation
</h2>
<p className="text-gray-600 text-lg laptop:text-sm xl:text-base">
<p className="text-gray-600 text-lg laptop:text-sm xl:text-base truncate max-w-[20vw]">
{deviceName}
</p>
</div>