From 60dfa1702796dc5dee294e1358afb3a969802fc2 Mon Sep 17 00:00:00 2001 From: Lucas Fryzek Date: Fri, 25 Nov 2022 23:23:37 -0500 Subject: Improve responsiveness of css to mobile phone screens --- tools/note.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/note.lua b/tools/note.lua index 3ec9a51..330a24e 100644 --- a/tools/note.lua +++ b/tools/note.lua @@ -10,7 +10,9 @@ function Pandoc(doc) local text = pandoc.Para(status_name) local image = pandoc.RawBlock("html", string.format("", status_name)) - local div = pandoc.Div({image, text}) + local status_div = pandoc.Div({text}) + status_div.classes = {"plant-status-text"} + local div = pandoc.Div({image, status_div}) div.classes = {"plant-status"} local status_info = pandoc.MetaBlocks(div) -- cgit v1.2.3