Skip to content

enhance: add classes to macros - #8299

Merged
andelf merged 4 commits into
logseq:masterfrom
sallto:macros
Jan 18, 2023
Merged

andelf merged 4 commits into
logseq:masterfrom
sallto:macros

Conversation

@sallto

@sallto sallto commented Jan 10, 2023

Copy link
Copy Markdown
Contributor

fixes #8192
It is now possible to target macros with custom.css
grafik

This introduces a wrapping div for all macros. (I don't think it is easily possible to achieve the same effect without it). This shouldn't break anything since the span is already wrapping it

sallto and others added 2 commits January 10, 2023 18:27
fixes logseq#8192
It is now possible to target macros with custom.css
@Bad3r Bad3r added the :type/enhancement Enhancement to product. Does not affect the overall basic use. label Jan 10, 2023
@logseq-cldwalker
logseq-cldwalker requested review from bendyorke and xyhp915 and removed request for logseq-cldwalker January 11, 2023 21:15
@logseq-cldwalker

Copy link
Copy Markdown
Collaborator

@Bad3r Appreciate trying to nudge us but would be good to leave the core team to assign reviewers. We'll know best whom to assign them to

Comment thread src/main/frontend/components/block.cljs Resolved
@Bad3r Bad3r added this to the 0.8.17 milestone Jan 12, 2023
avoids css conflicts for certain macro names
@logseq-cldwalker

Copy link
Copy Markdown
Collaborator

@andelf Looks like your feedback was addressed. Would you like to approve or hold this PR until Charlie responds? Perhaps @sprocketc or @bendyorke could chime in for Charlie?

@sprocketc sprocketc left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@andelf andelf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:type/enhancement Enhancement to product. Does not affect the overall basic use.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Hiccup in Macros] - Custom css does not affect hiccup in macros

5 participants