[clang-tools-extra] [clang-doc] fix overlapping navbar (PR #164314)

Erick Velez via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 20 13:32:23 PDT 2025


https://github.com/evelez7 created https://github.com/llvm/llvm-project/pull/164314

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.

>From 9fb86ecaac689a411b21ed37f2e1b3bf1f98d02d Mon Sep 17 00:00:00 2001
From: Erick Velez <erickvelez7 at gmail.com>
Date: Mon, 20 Oct 2025 13:24:53 -0700
Subject: [PATCH] [clang-doc] fix overlapping navbar

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.
---
 clang-tools-extra/clang-doc/assets/clang-doc-mustache.css | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;



More information about the cfe-commits mailing list