Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

CSS syntax error in theme.json #692

Closed
fabiorubioglio opened this issue Oct 23, 2023 · 1 comment
Closed

CSS syntax error in theme.json #692

fabiorubioglio opened this issue Oct 23, 2023 · 1 comment
Labels
[Type] Bug Something isn't working

Comments

@fabiorubioglio
Copy link

Description
theme.json file, line 477

"core/post-comments-form": {
"css": "& textarea, input{border-radius:.33rem}"
}

The border-radius rule doesn't apply to the input elements.
It should be: "css": "& textarea, & input{border-radius:.33rem}"

@fabiorubioglio fabiorubioglio added the [Type] Bug Something isn't working label Oct 23, 2023
@luminuu
Copy link
Member

luminuu commented Oct 23, 2023

Thanks for the issue, however I just tested this and have to report that adding the second & actually breaks the textarea input and makes the border of the text area have no radius. It works as is with the & just at the front of the statement.

@luminuu luminuu closed this as completed Oct 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
[Type] Bug Something isn't working
Projects
Status: ✅ Done
Development

No branches or pull requests

2 participants