Skip to content

Commit 42c29b7

Browse files
feat: refine target table and card padding for improved layout and readability
1 parent dfa5331 commit 42c29b7

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

web/index.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -222,18 +222,18 @@
222222
.theme-toggle:hover { border-color: var(--border-hover); background: var(--input-hover-bg); color: var(--fg); }
223223

224224
.target-table {
225-
width: 100%; border-collapse: collapse; font-size: 0.8125rem;
225+
width: 100%; border-collapse: collapse; font-size: 0.75rem;
226226
table-layout: auto;
227227
}
228228
.target-table th {
229-
text-align: left; font-size: 0.6875rem; font-weight: 600;
229+
text-align: left; font-size: 0.625rem; font-weight: 600;
230230
text-transform: uppercase; letter-spacing: 0.05em;
231-
color: var(--muted); padding: 0.4rem 0.5rem;
231+
color: var(--muted); padding: 0.3rem 0.375rem;
232232
border-bottom: 1px solid var(--border); white-space: nowrap;
233233
}
234234
.target-table th:not(:first-child) { text-align: right; }
235235
.target-table td {
236-
padding: 0.45rem 0.5rem;
236+
padding: 0.35rem 0.375rem;
237237
border-bottom: 1px solid var(--border);
238238
color: var(--fg);
239239
}
@@ -243,14 +243,14 @@
243243
.target-table tr:last-child td { border-bottom: none; }
244244
.target-table tr:nth-child(even) td { background: var(--table-stripe); }
245245
.target-table .host-cell {
246-
font-weight: 600; display: flex; align-items: center; gap: 0.4rem;
246+
font-weight: 600; display: flex; align-items: center; gap: 0.3rem;
247247
}
248248
.target-table .ip-cell {
249249
font-family: 'SF Mono', 'Fira Code', monospace;
250-
font-size: 0.6875rem; color: var(--muted);
250+
font-size: 0.625rem; color: var(--muted);
251251
}
252252
.inline-dot {
253-
width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
253+
width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
254254
}
255255
.inline-dot.up { background: var(--green); }
256256
.inline-dot.down { background: var(--red); }
@@ -670,7 +670,7 @@ <h3><span class="chart-dot" style="background:var(--purple)"></span> DNS Resolut
670670
</div>
671671

672672
<!-- Targets table -->
673-
<div class="card p-4 flex-1 min-h-0 flex flex-col">
673+
<div class="card p-3 flex-1 min-h-0 flex flex-col">
674674
<div class="section-label">
675675
<svg xmlns="http://www.w3.org/2000/svg" width="11" height="11" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><circle cx="12" cy="12" r="6"/><circle cx="12" cy="12" r="2"/></svg>
676676
Connectivity
@@ -690,7 +690,7 @@ <h3><span class="chart-dot" style="background:var(--purple)"></span> DNS Resolut
690690
</div>
691691

692692
<!-- DNS table -->
693-
<div class="card p-4 flex flex-col">
693+
<div class="card p-3 flex flex-col">
694694
<div class="section-label">
695695
<svg xmlns="http://www.w3.org/2000/svg" width="11" height="11" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg>
696696
DNS Lookups

0 commit comments

Comments
 (0)