Skip to content

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

Merged
donker merged 1 commit into
dnnsoftware:developfrom
Timo-Breumelhof:default_css/1.6-Duplicate-padding-rules
Jul 4, 2026
Merged

FIX: default.css > Conflicting duplicate rule padding blocks for the same selectors > forms.scss#7358
donker merged 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
@donker
donker added this pull request to the merge queue Jul 4, 2026
Merged via the queue into dnnsoftware:develop with commit 2bde1e3 Jul 4, 2026
9 checks passed
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.

3 participants