Skip to content
This repository was archived by the owner on Aug 9, 2023. It is now read-only.

Commit 9412ac7

Browse files
committed
Polish
1 parent f2a5c42 commit 9412ac7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

init.lua

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1163,7 +1163,7 @@ local function get_title_fs(query_item, lang_code, favs, fs, spacing)
11631163
local t_desc = query_item
11641164
t_desc = #t_desc > 40 and fmt("%s...", sub(t_desc, 1, 37)) or t_desc
11651165

1166-
fs[#fs + 1] = fmt("hypertext[9.05,%f;5.85,1.2;item_title;%s]",
1166+
fs[#fs + 1] = fmt("hypertext[9.05,%f;5.85,1.2;;%s]",
11671167
spacing - 0.1,
11681168
fmt("<item name=%s float=right width=64 height=64 rotate=yes>" ..
11691169
"<big><b>%s</b></big>\n<style color=#7bf font=mono>%s</style>",
@@ -1332,7 +1332,10 @@ local function make_fs(data)
13321332
lbl = ES"Collect items to reveal more recipes"
13331333
end
13341334

1335-
fs[#fs + 1] = fmt(FMT.button, -0.25, 3, 8.3, 1, "no_item", lbl)
1335+
fs[#fs + 1] = fmt("hypertext[%f,%f;%f,%f;;%s]",
1336+
0.05, 3, 8.29, 1,
1337+
fmt("<center><style size=20><b>%s</b></style></center>]",
1338+
translate(data.lang_code, lbl)))
13361339
end
13371340

13381341
local first_item = (data.pagenum - 1) * IPP

0 commit comments

Comments
 (0)