From d17be55aab80b856f96f4af89f8d18fef96646b4 Mon Sep 17 00:00:00 2001 From: zhangenming <282126346@qq.com> Date: Fri, 26 Aug 2022 20:48:18 -0700 Subject: [PATCH] Make header more natural. (#10580) Summary: Fixed #10381 for blog's navigation bar UI. Pull Request resolved: https://github.com/facebook/rocksdb/pull/10580 Reviewed By: hx235 Differential Revision: D39079045 Pulled By: cbi42 fbshipit-source-id: 922cf2624f201c0af42815b23d97361fc0151d93 --- docs/_sass/_header.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/_sass/_header.scss b/docs/_sass/_header.scss index b4cd07113..ac79390f4 100644 --- a/docs/_sass/_header.scss +++ b/docs/_sass/_header.scss @@ -3,7 +3,8 @@ color: $primary-overlay; height: $header-height; padding: $header-ptop 0 $header-pbot; - position: fixed; + position: sticky; + top: 0; width: 100%; z-index: 9999; @@ -135,4 +136,4 @@ max-width: 1400px; } } - */ \ No newline at end of file + */