-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix header offset #2812
Fix header offset #2812
Conversation
- Consistent use of the (renamed) `site-header:` and (new) `site-header-sections` Tailwind variants in TOC, PageAside, and OpenAPI block - Fixes API response block overlapping header if it has sections
Summary of the deployments: Version 1 (production)
Version 2 (experimental)
Test content |
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
@zenoachtig Nice one! With small headers the block is pretty far (example), also the "On this page" TOC is going over the block, can we try to handle all those cases ? |
🦋 Changeset detectedLatest commit: 770e5f6 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Yeah whoops, my selector was incorrect (because the page always contains a |
site-header:
and (new)site-header-sections:
Tailwind variants in TOC, PageAside, and OpenAPI blockBefore:
![Screenshot 2025-02-06 at 11 15 56](https://private-user-images.githubusercontent.com/8304582/410409209-65e83045-e1ac-4621-9e70-a458cf5f1ac3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNDgzMTIsIm5iZiI6MTczOTI0ODAxMiwicGF0aCI6Ii84MzA0NTgyLzQxMDQwOTIwOS02NWU4MzA0NS1lMWFjLTQ2MjEtOWU3MC1hNDU4Y2Y1ZjFhYzMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU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