Skip to content

FIX: default.css > Headings Duplicate property in the same rule > type.scss#7359

Open
Timo-Breumelhof wants to merge 1 commit into
dnnsoftware:developfrom
Timo-Breumelhof:default_css/1.7-Duplicate-font-weight
Open

FIX: default.css > Headings Duplicate property in the same rule > type.scss#7359
Timo-Breumelhof wants to merge 1 commit into
dnnsoftware:developfrom
Timo-Breumelhof:default_css/1.7-Duplicate-font-weight

Conversation

@Timo-Breumelhof

Copy link
Copy Markdown
Contributor

Minor issue > no issue created

Summary

Duplicate property in the same rule (dead declaration)
File: base/_type.scss:15-16 (h1, h2, h3, h4, h5, h6)
font-weight: bold;
font-weight: inherit;
Two font-weight declarations back to back in the same rule. The first
(bold) is immediately overwritten by the second (inherit) and has no
effect - dead code.

Solution: remove the dead declaration and keep the one that actually
applies:
h1, h2, h3, h4, h5, h6 {
font-family: Arial, Helvetica, sans-serif;
font-weight: inherit;
line-height: 1.4;
margin-top: 1rem;
margin-bottom: 0.75rem;
}

@Timo-Breumelhof Timo-Breumelhof changed the title FIX: defaultcss > Headings Duplicate property in the same rule > type.scss FIX: default.css > Headings Duplicate property in the same rule > type.scss Jul 3, 2026
@donker donker added this to the 10.3.3 milestone Jul 3, 2026
@donker donker enabled auto-merge July 3, 2026 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants