Skip to content

Conversation

@evelez7
Copy link
Member

@evelez7 evelez7 commented Oct 20, 2025

The navbar has a height of 60px, but the sidebar didn't have any top
padding so it began underneath the navbar. Now the sidebar has a top
padding of 60px.

The navbar has a height of 60px, but the sidebar didn't have any top
padding so it began underneath the navbar. Now the sidebar has a top
padding of 60px.
Copy link
Member Author

evelez7 commented Oct 20, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@evelez7 evelez7 requested review from ilovepi and petrhosek October 20, 2025 20:32
@evelez7 evelez7 marked this pull request as ready for review October 20, 2025 20:33
@llvmbot
Copy link
Member

llvmbot commented Oct 20, 2025

@llvm/pr-subscribers-clang-tools-extra

Author: Erick Velez (evelez7)

Changes

The navbar has a height of 60px, but the sidebar didn't have any top
padding so it began underneath the navbar. Now the sidebar has a top
padding of 60px.


Full diff: https://github.com/llvm/llvm-project/pull/164314.diff

1 Files Affected:

  • (modified) clang-tools-extra/clang-doc/assets/clang-doc-mustache.css (+1-1)
diff --git a/clang-tools-extra/clang-doc/assets/clang-doc-mustache.css b/clang-tools-extra/clang-doc/assets/clang-doc-mustache.css
index e555ee7c370f7..67f11f77eae61 100644
--- a/clang-tools-extra/clang-doc/assets/clang-doc-mustache.css
+++ b/clang-tools-extra/clang-doc/assets/clang-doc-mustache.css
@@ -396,7 +396,7 @@ body, html {
 
 .sidebar {
     width: 250px;
-    top: 0;
+    top: 60px;
     left: 0;
     height: 100%;
     position: fixed;

Copy link
Member Author

evelez7 commented Oct 20, 2025

You can see the changes reflected here: https://erickvelez.com/clang-doc-mustache-output/pr164314/

The "Inner Classes" heading isn't covered by the navbar anymore. Also never noticed that on class pages, the class name is actually displayed on top of the sidebar.

Copy link
Member Author

evelez7 commented Oct 21, 2025

Merge activity

  • Oct 21, 10:36 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Oct 21, 10:38 PM UTC: @evelez7 merged this pull request with Graphite.

@evelez7 evelez7 merged commit daa15f4 into main Oct 21, 2025
17 of 18 checks passed
@evelez7 evelez7 deleted the users/evelez7/clang-doc-fix-navbar branch October 21, 2025 22:38
Lukacma pushed a commit to Lukacma/llvm-project that referenced this pull request Oct 29, 2025
The navbar has a height of 60px, but the sidebar didn't have any top
padding so it began underneath the navbar. Now the sidebar has a top
padding of 60px.
aokblast pushed a commit to aokblast/llvm-project that referenced this pull request Oct 30, 2025
The navbar has a height of 60px, but the sidebar didn't have any top
padding so it began underneath the navbar. Now the sidebar has a top
padding of 60px.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants