Skip to content

Commit c74bfe4

Browse files
committed
Update header layout and app version display for improved aesthetics
1 parent 37ad0e3 commit c74bfe4

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

content/tailwind.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -617,6 +617,10 @@
617617
font-size: var(--text-xs);
618618
line-height: var(--tw-leading, var(--text-xs--line-height));
619619
}
620+
.text-\[10px\] {
621+
font-size: 10px;
622+
line-height: 1;
623+
}
620624
.leading-5 {
621625
--tw-leading: calc(var(--spacing) * 5);
622626
line-height: calc(var(--spacing) * 5);

index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,16 @@
3131
</head>
3232

3333
<body class="bg-slate-900 text-slate-100">
34-
<main class="min-h-screen flex items-start justify-center px-4 pt-2 pb-4">
35-
<div class="w-full max-w-xl space-y-2">
34+
<main class="min-h-screen flex items-start justify-center px-3 pt-1 pb-3">
35+
<div class="w-full max-w-xl space-y-1.5">
3636

3737
<!-- App Title -->
38-
<header class="flex items-center justify-between gap-3">
39-
<h1 class="flex items-center gap-3 text-lg sm:text-xl font-bold truncate min-w-0">
40-
<img class="h-12 w-12 sm:h-14 sm:w-14 flex-shrink-0" src="content/wardrive.png" alt="MeshCore" />
38+
<header class="flex items-center justify-between gap-2 py-0.5">
39+
<h1 class="flex items-center gap-2 text-base font-bold truncate min-w-0">
40+
<img class="h-7 w-7 flex-shrink-0" src="content/wardrive.png" alt="MeshCore" />
4141
<span class="truncate">MeshMapper</span>
4242
</h1>
43-
<span id="appVersion" class="text-xs bg-slate-800 border border-slate-700 px-3 py-1 rounded-full text-slate-400 flex-shrink-0">v1.0</span>
43+
<span id="appVersion" class="text-[10px] bg-slate-800 border border-slate-700 px-2 py-0.5 rounded-full text-slate-400 flex-shrink-0">v1.0</span>
4444
</header>
4545

4646
<!-- Connection Status Bar with Settings Panel -->

0 commit comments

Comments
 (0)