Skip to content

style: space the status badge from the identifier in the requirements index - #24

Open
joostfarla wants to merge 1 commit into
mainfrom
space-status-badge
Open

joostfarla wants to merge 1 commit into
mainfrom
space-status-badge

Conversation

@joostfarla

Copy link
Copy Markdown
Member

In the requirements index, the status badge sat directly against the identifier, with no space between them. The cell also set its monospace font on the whole cell, so the badge rendered in monospace too, unlike the badges in the requirement headers.

This change:

  • applies the monospace font only to the identifier link, so the badge uses the body font as it does elsewhere;
  • adds a small margin before the badge;
  • keeps the badge on one line and aligns it with the identifier text.

Only tools/specbuild/spec.css changes. The rendered HTML is unchanged, and requirement headers are not affected because their flex layout already spaces the badges.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant