Skip to content

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

Closed

Description

@manoxmyth

Search first

  • I searched and no similar issues were found

What Happened?

In custom.css: progress {display: inline-block;} doesn't effect [:progress {:max 10 :value 3}] as a macro (e.g. "progress" "[:progress {:max 10 :value $1}]").

Reproduce the Bug

  1. Go to config.edn
  2. Add a macro
  3. in custom.css modify the corresponding element with css
  4. see the error

Expected Behavior

No response

Screenshots

No response

Desktop or Mobile Platform Information

Galaxy Tab S7, Android 13, Logseq 0.8.15

Additional Context

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR (Thank you!)

Activity

  1. added
    css
    :type/feature-request
    estimate: medium
    on Jan 2, 2023
  2. manoxmyth commented on Jan 4, 2023

    @manoxmyth
    Author

    @cnrpman I think it can be solved easily with assigning a class like "macro" to the wrapping div of macros. :)

  3. added
    estimate: small
    and removed
    estimate: medium
    on Jan 4, 2023
  4. added 3 commits that reference this issue on Jan 10, 2023
    fa3dae0
    fbdd55e
    11b56dd
  5. added a commit that references this issue on Jan 18, 2023
    f636685
  6. added a commit that references this issue on Jan 18, 2023
    3ee45f5
  7. manoxmyth commented on Jan 20, 2023

    @manoxmyth
    Author

    Well gentlemen, how can we use this new update through css? :) #8299

  8. alxlg commented on Jan 20, 2023

    @alxlg
    Collaborator

    Well gentlemen, how can we use this new update through css? :) #8299

    You need a nightly build or waiting for the next Logseq release, then you will be able to apply CSS rules with the selector .macro { <rules here> }.

  9. manoxmyth commented on Jan 22, 2023

    @manoxmyth
    Author

    @alxlg I'm usually on nightly when it's avaiable! Thanks for the answer! :)

  10. added a commit that references this issue on Oct 1, 2026
    e12868e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    :type/feature-requestcssestimate: small

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions