Skip to content

[v4] Lists: avoid float for markers? #26

Description

@fvsch

List markers are ::before pseudos aligned with float: inline-start and a negative margin.

This could theoretically create some vertical text alignment issues with custom user styles. Floats are also finicky almost by definition.

I should explore using a different technique. Some ideas:

  • Negative text-indent might do the same thing but with fewer side effects.
  • Theoretically the numbers/bullets and text in a list look like a grid, but using display: grid here sounds tricky and more trouble than float.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions