Skip to content

Whitespace between inline-block elements in language list #164

@remibetin

Description

@remibetin

In the language list, the space between the items is not controlled by gap, margin or padding properties, but a consequence of the list items having a display:inline-block property and whitespace between them (see Whitespace processing between inline and inline-block elements).

.languagelist>ul>li {
  border: none;
  padding: 0;
  margin:0;
  display: inline-block
}

This is not ideal, see for example the issue in the WCAG-EM Report Tool.

It would be best to control this spacing using CSS only, for example by using Flexbox.

Note: After applying the solution, revert w3c/wai-wcag-em-report-tool#206.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions