diff --git a/init.lua b/init.lua index 207bbba..b9780c4 100644 --- a/init.lua +++ b/init.lua @@ -116,7 +116,7 @@ local styles = fmt([[ style[filter;border=false] style_type[label,field;font_size=+0] style_type[image_button;border=false] - style_type[button;border=false;font=bold;font_size=+2] + style_type[button;border=false;font=bold;font_size=+2;content_offset=0] style_type[item_image_button;border=false;bgimg_hovered=%s;bgimg_pressed=%s] style[search;fgimg=%s;fgimg_hovered=%s] style[clear;fgimg=%s;fgimg_hovered=%s] @@ -1179,7 +1179,7 @@ local function get_title_fs(query_item, favs, fs, spacing) fs[#fs + 1] = fmt(FMT.label, 8.75, spacing - 0.1, nice_strip(ESC(get_desc(query_item)), 45)) fs[#fs + 1] = "style_type[label;font=mono;font_size=+0]" fs[#fs + 1] = fmt(FMT.label, 8.75, spacing + 0.3, clr("#7bf", nice_strip(query_item, 35))) - fs[#fs + 1] = "style_type[label;font=normal;font_size=]" + fs[#fs + 1] = "style_type[label;font=normal]" fs[#fs + 1] = fmt(FMT.hypertext, 13.8, spacing - 0.15, 1.1, 1.3, @@ -1247,10 +1247,7 @@ local function get_panels(data, fs) if recipe_or_usage and not rn then local lbl = is_recipe and ES"No recipes" or ES"No usages" - - fs[#fs + 1] = fmt(FMT.hypertext, - 8.29, YOFFSET + spacing + 0.3, 6.8, 1, - fmt("