Closed pbelmans closed 6 years ago
It suffices to add the class .bonsai-li
to every li
in jquery-bonsai/jquery.bonsai.css
, and adding it to list items in the output. This will require forking jquery-bonsai
though, so that we can add the fork (with this one line changed) as the submodule.
While we're at it, we should also decrease the vertical spacing of list items in the preview.
The alternative solution I tried implementing is by just reinstating the appropriate list-style-type
on lists inside div.html
in .bonsai
. But weirdness ensues: no symbols appear, but the vertical margin is changed. I have no idea why...
Fixed in aexmachina/jquery-bonsai#37.
If there is an issue with this pull request, we can just apply these changes in a local stylesheet.
Because
jquery-bonsai
changes the way all list items look, the preview of a search result is borked. I played around for a few minutes, but I couldn't figure out a good solution straightaway. Maybe we should decorate all list items on which Bonsai is supposed to act or something?