facebook / facebook/docusaurus

Navbar Word Wrap on Small Screens

Đang mở
#7,635 19 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug domain: theme
Ngôn ngữ chính
TypeScript
Star
66.2k
Fork
10k
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
52

Mô tả

### Have you read the Contributing Guidelines on issues?

- [X] I have read the [Contributing Guidelines on issues](https://github.com/facebook/docusaurus/blob/main/CONTRIBUTING.md#reporting-new-issues).

### Prerequisites

- [X] I'm using the latest version of Docusaurus.
- [X] I have tried the `npm run clear` or `yarn clear` command.
- [X] I have tried `rm -rf node_modules yarn.lock package-lock.json` and re-installing packages.
- [X] I have tried creating a repro with https://new.docusaurus.io.
- [X] I have read the console error message carefully (if applicable).

### Description

Names on the Navbar Wrap when using website on smaller screens (i.e. 13" Laptop, Tablet, iPad)

Screenshot below:

![image](https://user-images.githubusercontent.com/91307601/174082545-7970fdef-e209-4e58-9d0e-304a1f916053.png)

### Reproducible demo

https://github.com/Comp-Labs/comp-labs-website

### Steps to reproduce

1. Run the website on a smaller screen (13" Laptop, Tablet, iPad).
2. See the Navbar.

### Expected behavior

The Navbar should look the same whether it is Small Laptop or a Big 24" Desktop.

### Actual behavior

Navbar Items Wrap up on small screens as in the screenshot below.

![image](https://user-images.githubusercontent.com/91307601/174083207-fd50744c-7303-4e67-a916-a0faa7eca9f7.png)

### Your environment

- Public source code: https://github.com/Comp-Labs/comp-labs-website
- Public site URL: https://complabs.in
- Docusaurus version used: 2.0.0-beta.21 (latest)
- Environment name and version (e.g. Chrome 89, Node.js 16.4): Chrome Version 102.0.5005.115 (Official Build) (64-bit) | Node v17.2.0
- Operating system and version (e.g. Ubuntu 20.04.2 LTS): Windows 11 Pro Dev Insider Build 25140.2000

### Self-service

- [ ] I'd be willing to fix this bug myself.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.