Skip to content

FIX: default.css > Conflicting duplicate rule padding blocks for the same selectors > forms.scss#7358

Open
Timo-Breumelhof wants to merge 1 commit into
dnnsoftware:developfrom
Timo-Breumelhof:default_css/1.6-Duplicate-padding-rules
Open

FIX: default.css > Conflicting duplicate rule padding blocks for the same selectors > forms.scss#7358
Timo-Breumelhof wants to merge 1 commit into
dnnsoftware:developfrom
Timo-Breumelhof:default_css/1.6-Duplicate-padding-rules

Conversation

@Timo-Breumelhof

Copy link
Copy Markdown
Contributor

Minor issue, no issue created

Summary

Conflicting duplicate rule blocks for the same selectors
File: ui/_forms.scss:169-177 and 189-195
First block (line 177):
padding: 0.5625rem;
Second block, four lines later, targeting an overlapping selector list
(.dnnFormItem button, input[type=button/reset/submit], .dnnPrimaryAction,
.dnnSecondaryAction, .dnnTertiaryAction) (line 195):
padding: 0.375rem;
The second declaration silently wins for the shared selectors. Having two
separate rule blocks assign different values to the same property on
overlapping selectors makes it unclear which value is "the" intended
padding.

Solution: the end result (buttons/actions at 0.375rem,

@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