Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-2287

[TechDocs] L3 Headings rendered smaller than paragraph text in RHDH 1.8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 1.8.0
    • TechDocs, UI
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Important

      Description of problem:

      In RHDH 1.8, TechDocs Level 3 headings (###) are rendering with a font size that is visibly smaller and less distinct than the standard paragraph body text. This breaks the visual hierarchy of the documentation.

      Prerequisites (if any, like setup, operators/versions):

      • An RHDH instance running version 1.8.
      • TechDocs Addons (plugins) are installed and enabled. (this may or may not be related to the issue, they are on in my test system)
      • A registered component with TechDocs enabled.
      • A .md file within the documentation containing Level 3 headings (###) followed by standard paragraph text.

      Steps to Reproduce

      1. Log in to Red Hat Developer Hub.
      2. Navigate to Docs or the TechDocs tab of a component.
      3. Open a documentation page that utilizes ### (H3) markdown syntax. (e.g., ### Notifications Button).
      4. Observe the rendered font size of the header compared to the text immediately following it.

      Actual results:

      The text rendered from the ### markdown is smaller and less legible than the standard paragraph text below it. The visual weight does not indicate that it is a header.

      Expected results:

      The Level 3 heading should be larger, bolder, or visually distinct from the body text to clearly indicate a new sub-section, adhering to standard typography hierarchy principles (as should all headings, not just L3)

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      • Environment: RHDH
      • Version/Build: RHDH v1.8
      • Browser/OS: Agnostic (Visual CSS issue observed on macOS/Chrome)

      Additional info (Such as Logs, Screenshots, etc):

      • Configuration Notes: Issue persists at both 90% and 100% browser zoom, indicating this is a CSS definition issue, not a browser rendering artifact.
      • Root Cause Hypothesis: Possible conflict between RHDH 1.8 styling updates and existing TechDocs Addons CSS, or a regression in the base theme's h3 typography variables.
      • Attachments:
        • Screenshot 1: Shows the markdown source code.
        • Screenshot 2: Shows the rendered output demonstrating the size discrepancy.

              Unassigned Unassigned
              rh-ee-bwilcock Ben Wilcock
              RHIDP - Frontend Plugins & UI
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: