facebook / facebook/docusaurus

Allow CSS to target layout of a single page (for docs, blog, pages)

Đang mở
#7,592 12 bình luận 0 reaction 0 người được giao Xem trên GitHub
feature
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).

### Description

I went trough documentation and i'm unable to find an option to disable stickiness of navbar for specific page/s

this refers to class `.navbar--fixed-top`

as an example of page that i'd like to disable stickiness is a typescript-eslint [playground](https://typescript-eslint.io/play/#ts=4.7.1-rc&sourceType=module&code=JYMwBAFALgTgrgUzAMmWAjGA1BglGAbzAF8BYAKCA&eslintrc=N4KABGBEBOCuA2BTAzpAXGUEKQAIBcBPABxQGNoBLY-AWhXkoDt8B6ZfKsugIwHs+SAIZN6AD2LQUySnyaoMAbXDYciaND7RIAGhWqsq7JCHx4fAO4BlTswDm6MADNTyRHqPHT5iwDlYALY86o4u8G4enlDelv5mQjxIAPI8AFaI3KGuiPrYAL65ALqROAQk5FQ09MiMLKxMfLRO5kL49rSSfAGUbgpQ6praJVBlpMgU1HQMzGwNtN3IsG4AJh2aCyiOkANaurl4RGMTVdN1c7BMS4irAG5C0H3bGrvDB+XjlVM1M-WNPEJuWj4RocKhMBwYJ6DSAqAp5IA&tsconfig=N4KABGBEDGD2C2AHAlgGwKYCcDyiAuysAdgM6QBcYoEEkJemy0eAcgK6qoDCAFutAGsylBm3TgwAXxCSgA)

![image](https://user-images.githubusercontent.com/625469/172965234-8b3bc7fc-2737-4a5b-bc6d-53411bdb380d.png)

![image](https://user-images.githubusercontent.com/625469/172965337-7a284749-f42e-46ca-978a-ce9977b3d752.png)

-----------

i'm not sure if this is a documentation request or feature request

### Self-service

- [ ] I'd be willing to address this documentation request 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.