facebook / facebook/docusaurus

Make theme desktop responsive breakpoint configurable

Offen
#9,603 7 Kommentare 10 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
proposal
Vorherrschende Sprache
TypeScript
Sterne
66.2k
Forks
10k
Ø Merge
1 T. 3 Std.
Gemergte PRs (30 T.)
52

Beschreibung

### 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#issues).

### Motivation

See
- https://github.com/facebook/docusaurus/pull/9261
- https://github.com/facebook/docusaurus/pull/9335

People want to be able to configure easily the 996px desktop breakpoint.

It's not easy currently because the value is hardcoded in both the JS side, but also CSS side (inside Infima directly), cf my comment https://github.com/facebook/docusaurus/pull/9261#issuecomment-1700876844

We should make this easier to achieve without requiring swizzling.

### Self-service

- [X] I'd be willing to do some initial work on this proposal myself.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.