fix(nix-monitor): reduce font size

This commit is contained in:
avivbintangaringga
2026-07-16 10:51:53 +07:00
parent 43b4db599f
commit 559e6f11cc
+5 -4
View File
@@ -57,7 +57,7 @@ local function statLabel(text, glyph: string?)
if glyph ~= nil then if glyph ~= nil then
table.insert(items, ui.glyph({ table.insert(items, ui.glyph({
name = glyph, name = glyph,
size = 18 size = 16
})) }))
end end
@@ -130,12 +130,12 @@ local function render()
}, { }, {
ui.label({ ui.label({
text = tr("panel.title"), text = tr("panel.title"),
fontSize = 20, fontSize = 16,
}), }),
ui.label({ ui.label({
text = cfg("branch"), text = cfg("branch"),
fontSize = 14, fontSize = 12,
}), }),
}), }),
ui.separator({ ui.separator({
@@ -184,7 +184,8 @@ local function render()
spacing = 4 spacing = 4
}), }),
ui.label({ ui.label({
text = `{tr("panel.last_checked")}: {lastCheckTimeStr}` text = `{tr("panel.last_checked")}: {lastCheckTimeStr}`,
fontSize = 12
}), }),
ui.row({ ui.row({
gap = 8, gap = 8,