Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: redpanda-data/docs-ui
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.12.6
Choose a base ref
...
head repository: redpanda-data/docs-ui
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.12.7
Choose a head ref
  • 1 commit
  • 3 files changed
  • 2 contributors

Commits on Mar 12, 2026

  1. Fix layout issues in component-home-v2 from PR #369 (#370)

    * Fix layout issues in component-home-v2 from PR #369
    
    Fixes two layout issues introduced in PR #369:
    
    1. Main element width constraint: Exclude .home-content from the nav-width
       calculation to prevent content from being squished on home pages
       - Updated main.css selector from `main:not(.labs)` to
         `main:not(.labs):not(.home-content)`
    
    2. Overview heading layout: Move heading outside the .home-intro flex
       container and make it visually hidden to prevent inline display
       - Moved h2#home-overview before the .home-intro div
       - Added .visually-hidden class to hide heading while keeping it accessible
    
    Tested with Playwright to verify:
    - Main element has full width (1160px, not constrained)
    - Overview heading is visually hidden (height: 1px, not visible)
    - Intro paragraph displays on its own line
    
    Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
    
    * Exclude metadata div for component-home-v2 pages
    
    The metadata--main div was being rendered even when empty for
    component-home-v2 pages, causing unwanted spacing below the h1.
    
    Wrapped the metadata div in an unless condition to exclude it
    completely for component-home-v2 role pages.
    
    Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
    
    ---------
    
    Co-authored-by: Claude Sonnet 4.5 <[email protected]>
    JakeSCahill and claude authored Mar 12, 2026
    Configuration menu
    Copy the full SHA
    b488876 View commit details
    Browse the repository at this point in the history
Loading