diff options
author | Lucas Fryzek <lucas.fryzek@gmail.com> | 2022-11-25 23:23:37 -0500 |
---|---|---|
committer | Lucas Fryzek <lucas.fryzek@gmail.com> | 2022-11-25 23:23:37 -0500 |
commit | 60dfa1702796dc5dee294e1358afb3a969802fc2 (patch) | |
tree | ae76ef5fda17a2ac52f560332a1b3e235b5383b2 /tools/note.lua | |
parent | b8fe4cff9ebfe37cdccb9f6a318d17cc1d3cc30f (diff) |
Improve responsiveness of css to mobile phone screens
Diffstat (limited to 'tools/note.lua')
-rw-r--r-- | tools/note.lua | 4 |
1 files changed, 3 insertions, 1 deletions
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("<img src=\"/assets/%s.svg\">", 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) |