Add special class for empty bullets to allow CSS styling for content spacing #61
Answered
by
JayFarei
JayFarei
asked this question in
Feature requests & Ideas
-
See slack conversation: https://roamresearch.slack.com/archives/C01L6LABPL6/p1620492837019400 I am using empty bullets to space out content sections but can’t seem to find a way to conditionally make the bullet disappear in CSS only, without JS or changing the HTML. I would like for the empty bullet to be conditionally generated with a special class that I can point my CSS to. |
Beta Was this translation helpful? Give feedback.
Answered by
JayFarei
May 19, 2021
Replies: 1 comment
-
Fixed with the new class identifier - thanks @Stvad ! this CSS should give the desired effect: /* Removing empty blocks */
div[class*="empty-block"] {
opacity: 0;
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Stvad
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fixed with the new class identifier - thanks @Stvad !
this CSS should give the desired effect: