Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] Have no marker when using the callouts. #21

Closed
ndharari opened this issue Nov 28, 2022 · 2 comments
Closed

[FR] Have no marker when using the callouts. #21

ndharari opened this issue Nov 28, 2022 · 2 comments

Comments

@ndharari
Copy link

I just dont like the bullet beside the callouts. It would be nice if It could be hidden.
Thats all!

@Erik-Handeland
Copy link

Should be able to hide it with CSS snippet, This is what I did for mine:

.lc-list-callout .cm-formatting-list-ul{
display: none;
}

@ndharari
Copy link
Author

ndharari commented Apr 7, 2023

Oh, Thank you, this is great. I did a little more work and got this snippet (maybe it helps someone else):

/* No Marker in Live Preview*/
.lc-list-callout .cm-formatting-list-ul {
  display: none;
}

/* No Marker in Reading but markers in subitems*/
.lc-list-callout>.list-bullet:first-child:after {
  height: 0px;
  width: 0px;
  border-radius: 0%;
}

/* No Marker in Print but markers in subitems*/
@media print {
li.lc-list-callout:first-child::marker {
    content: none;
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants