About Social Code
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/note.lua4
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)