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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user