Skip to content

Callout without icons should have a class #691

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

Open
Mapaor opened this issue Apr 14, 2025 · 0 comments
Open

Callout without icons should have a class #691

Mapaor opened this issue Apr 14, 2025 · 0 comments

Comments

@Mapaor
Copy link

Mapaor commented Apr 14, 2025

Would be great to have callout icons described by classes like "callout-icon" instead of "notion-page-icon-inline". To be able to style them differently from page icons.

Would also be great to detect when a callout has no icon (which is a relatively new Notion feature).

That was would be as simple as adding a new CSS rule like:

.callout-icon-false {
  visibility: hidden;
  width: 0;
}

Because right now callouts without icon look really bad and there is no easy way to fix them as there is no class assigned to them.

Image
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

1 participant