How to add Bonsai CSS style tags #373
Replies: 5 comments 2 replies
-
Hi @markusgritsch! Interesting. Can you provide a snippet of example code? Bonsai CSS is new to me, and to be honest: i've never seen this weird css notation before |
Beta Was this translation helpful? Give feedback.
-
The attached Lona script renders like this: But when I manually add the missing |
Beta Was this translation helpful? Give feedback.
-
@markusgritsch: Took me a while to understand how Bonsai.css works, and why it won't work in Lona, but it is actually a pretty simple fix. I pushed a patch to #374. Could you verify whether this fixes your problem? |
Beta Was this translation helpful? Give feedback.
-
Yes, this works. Great! |
Beta Was this translation helpful? Give feedback.
-
-> Issue #375 |
Beta Was this translation helpful? Give feedback.
-
Bonsai CSS uses
style
tags of the formstyle="--col: 2"
. However, if I try to set such astyle
with Lona, it does not appear in the rendered page. Trying to setstyle='color: black'
gets included, but the Bonsai CSSstyle
does not work.Beta Was this translation helpful? Give feedback.
All reactions