Skip to content

Patch settings inheritance#227

Merged
JayPanoz merged 2 commits intodevelopfrom
patch-settings-inheritance
Apr 20, 2026
Merged

Patch settings inheritance#227
JayPanoz merged 2 commits intodevelopfrom
patch-settings-inheritance

Conversation

@JayPanoz
Copy link
Copy Markdown
Collaborator

This is meant to protect some settings against intermediate elements declaring a user setting style.

Previously hyphens and line-height were inherited from body, which failed when a section or div was declaring them because the element e.g. p, li would then inherit from this value, and not the user setting. Now, they set the var directly, like text-align.

Letter and word-spacing were also missing !important.

- Book setting letter and wod spacing with !important
- section/div with line-height or hyphens, etc.
@JayPanoz JayPanoz merged commit db8f1ba into develop Apr 20, 2026
1 check passed
@JayPanoz JayPanoz deleted the patch-settings-inheritance branch April 20, 2026 12:22
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

Successfully merging this pull request may close these issues.

1 participant