Skip to content

alpha-54: Site title no longer wraps - search box moves #2699

@TomBrien

Description

@TomBrien

🐛 Bug Report

In alpha-0.49 and previous (I believe but I'm struggling to get these to build now), longer site titles would wrap at the search in the header bar. This was especially important on mobile browsers where the width is obviously limited. As of alpha-54, the title is not wrapping and search box is being pushed out of the header.

Have you read the Contributing Guidelines on issues?

Yes

To Reproduce

  1. Install Docusaurus and set up with a multi-word site title (total length more than 12 characters or so)
  2. Enable the search plug in
  3. Visit site on a mobile browser

Expected behavior

Words should wrap to ensure proper placement of search box

Actual Behavior

Title is shown on one line and search is moved
iOS:
IMG_0993

Pixel 4 (on BrowserStack)
image

Your Environment

  • Docusaurus version used: alpha-54
  • Environment name and version: Chrome and Safari on iOS,
  • Operating system and version (desktop or mobile): iOS on iPhone XS. Using browser stack I see it on other devices, including android, depending on screen size/resolution

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn error in the Docusaurus core causing instability or issues with its executionhelp wantedAsking for outside help and/or contributions to this particular issue or PR.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions