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

Support CSS logical properties #2357

Open
Voidlighter opened this issue Jan 21, 2025 · 2 comments
Open

Support CSS logical properties #2357

Voidlighter opened this issue Jan 21, 2025 · 2 comments
Labels
feature New feature that should be supported

Comments

@Voidlighter
Copy link

Voidlighter commented Jan 21, 2025

I was trying to change the indent amount of bullet points with css, and padding-inline-start worked well for me in my browser preview. It isn't, however, recognized in weasyprint:

WARNING: Ignored `padding-inline-start: 0.13in\` at 102:9, unknown property.

I'm sure I can figure out another way to do this, but I thought it'd be helpful to have this noted.

@Voidlighter
Copy link
Author

Yeah, in the meantime I can just use negative left margin. The stackoverflow answer that told me to use padding-inline-start is from 2015, so it is also possible that this isn't what people are using nowadays? I'm not currently smart enough to know how to find out.

@liZe
Copy link
Member

liZe commented Jan 21, 2025

Hi

Logical properties are not supported in WeasyPrint yet. Until then, you can use padding-left or padding-right instead, depending on the direction of your text.

@liZe liZe changed the title padding-inline-start is not recognized Support CSS logical properties Jan 21, 2025
@liZe liZe added the feature New feature that should be supported label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature that should be supported
Projects
None yet
Development

No branches or pull requests

2 participants