fix(nix-monitor): reduce font size
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user