From ce45d34f12737f96e8b1ed796324ed7a578e1a2f Mon Sep 17 00:00:00 2001 From: Luka Vandervelden Date: Tue, 24 Dec 2019 22:24:22 +0100 Subject: [PATCH] More Bulma components in bulma.ls. --- client/bulma.ls | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/client/bulma.ls b/client/bulma.ls index b19ffeb..c96bb27 100644 --- a/client/bulma.ls +++ b/client/bulma.ls @@ -70,5 +70,21 @@ module.exports = { action: url method: method }, content + media: (args) -> + h \div.media [ + if args.left + h \div.media-left args.left + if args.content + h \div.media-content args.content + if args.right + h \div.media-right args.right + ] + level: (args) -> + h \div.level [ + if args.left + h \div.level-left args.left + if args.right + h \div.level-right args.right + ] }