Plugin Contributor
Ewout
(@pomegranate)
Hello Pierre,
I think there’s a bug with the PDF engine that processes the list-style incorrectly when it’s passed multiple parameters at once. Try using list-style: disc outside
Ewout
Gosh are you good. I’m getting my bullets now but the formatting is still, let’s say, you have to get used to it. The bullets are aligned with the top of the line, not with the middle of the line (what I get perfectly on the HTML preview).
Based on your experience of a senior packing slip guru and knowing I’m trying to get a tick list to display (squares people can then cross), do you believe I should try to further pimp the list style or better include a picture of a square? The css : before argument will probably not work with the pdf wrapper, right?
Plugin Contributor
Ewout
(@pomegranate)
The :before selector does work, but if you’re going for tickboxes, I think it would make a nice solution to use an inline block for that purpose. You’ll have the same ‘issue’ of the top aligning, but that’s easily solved with some extra margin on the element.
li:before {
display: inline-block;
width: 3mm;
height: 3mm;
border: 1px solid black;
margin-right: 2mm;
margin-top: 0.5em;
}
won-der-ful! You made my day ewout. I was trying my luck with some content in the :before (what didn’t work). So I’ll use your code. Thanks a lot and have a good day!
Regards
Pierre
Plugin Contributor
Ewout
(@pomegranate)
Don’t forget to leave a review ;o)
I’ll do, I’ll do, I’m so happy I could marry you next week.