Skip to content

The rule for nested lists in normalize.css and opinionated.css is no longer necessary #27

@germanfrelo

Description

@germanfrelo

The rule "Remove the margin on nested lists in Chrome, Edge, and Safari" appears in both normalize.css and opinionated.css:

/**
* Remove the margin on nested lists in Chrome, Edge, and Safari.
*/
:where(dl, ol, ul) :where(dl, ol, ul) {
margin-block-end: 0;
margin-block-start: 0;
}

/**
* Remove the margin on nested lists in Chrome, Edge, and Safari.
*/
:where(dl, ol, ul) :where(dl, ol, ul) {
margin-block-end: 0;
margin-block-start: 0;
}

Since Chromium and WebKit already have that rule in their UA stylesheets, I think it can be removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions