From 619910c220caad6b6452929557a5eeb5f4958f0c Mon Sep 17 00:00:00 2001 From: Shivang Bagri <61118650+sivangbagri@users.noreply.github.com> Date: Thu, 4 Jan 2024 18:45:17 +0530 Subject: [PATCH] IMPROVED PLANET NAVBAR (#3513) * Fixed inconsistencies in Gloabl Card width * Fixed inconsistency in likes * Removed console msgs * Fixed * Fixed * Fixed * merge * improved global navbar * checks and improvement --- planet/css/style.css | 9 +++++++++ planet/index.html | 35 +++++++++++++++++++++++++++++------ planet/js/GlobalCard.js | 2 +- 3 files changed, 39 insertions(+), 7 deletions(-) diff --git a/planet/css/style.css b/planet/css/style.css index 490c86cd07..b3570db4fb 100644 --- a/planet/css/style.css +++ b/planet/css/style.css @@ -427,3 +427,12 @@ a { justify-content: space-between; } +.nav-extended { + position: sticky; + top: 0; + z-index: 100; +} + +.nav-content { + display: none; +} diff --git a/planet/index.html b/planet/index.html index 53a38e668d..b34ad5309c 100644 --- a/planet/index.html +++ b/planet/index.html @@ -41,6 +41,19 @@ + diff --git a/planet/js/GlobalCard.js b/planet/js/GlobalCard.js index e9c64ede85..5d41d54219 100644 --- a/planet/js/GlobalCard.js +++ b/planet/js/GlobalCard.js @@ -266,4 +266,4 @@ function copyURLToClipboard() { // eslint-disable-next-line no-console console.error("Failed to copy:", e.action); }); -} \ No newline at end of file +}