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

the :has() selector doesn't affect the pdf #347

Open
marifcelik opened this issue Nov 4, 2023 · 0 comments
Open

the :has() selector doesn't affect the pdf #347

marifcelik opened this issue Nov 4, 2023 · 0 comments

Comments

@marifcelik
Copy link

i have style.css file in the project root folder and i setted the "markdown-pdf.styles": [ "style.css" ]. i use this css code to center all images

p:has(img) {
  text-align: center;
}

other css selectors works but the :has selector doesn't seem to work.

@marifcelik marifcelik changed the title the :has() selector doesnt affect the pdf the :has() selector doesn't affect the pdf Nov 4, 2023
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