Skip to content

[JENKINS-69549] Margins for headers and paragraphs make descriptions and non-trivial inline help look terrible since 2.320 + 2.335 #18275

@jenkins-infra-bot

Description

@jenkins-infra-bot

Headers have significant bottom margins and no top margin per

margin-top: 0;
margin-bottom: var(--section-padding);

The last paragraph in a sequence (e.g. inside a wrapping div) has no bottom margin per

p:last-of-type {
margin-bottom: 0;
}
}

Headers should be closer to their related paragraphs than to unrelated content, that's not the case here. Especially the case of usage stats help look terrible, with no distance between a paragraph and an unrelated header. But even inline help, as well as basic HTML markup for descriptions, don't look good with these rules.


Originally reported by danielbeck, imported from: Margins for headers and paragraphs make descriptions and non-trivial inline help look terrible since 2.320 + 2.335
  • assignee: frankie699
  • status: Resolved
  • priority: Minor
  • component(s): core
  • label(s): 2.492.1-fixed, regression, ux
  • resolution: Fixed
  • resolved: 2024-12-10T14:49:05+00:00
  • votes: 0
  • watchers: 2
  • imported: 2025-11-24
Raw content of original issue

Headers have significant bottom margins and no top margin per

margin-top: 0;
margin-bottom: var(--section-padding);

The last paragraph in a sequence (e.g. inside a wrapping div) has no bottom margin per

p:last-of-type {
margin-bottom: 0;
}
}

Headers should be closer to their related paragraphs than to unrelated content, that's not the case here. Especially the case of usage stats help look terrible, with no distance between a paragraph and an unrelated header. But even inline help, as well as basic HTML markup for descriptions, don't look good with these rules.

3 attachments

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions