From 10617fd44bbfbdce5653d529b9726bc2fd1a502f Mon Sep 17 00:00:00 2001 From: Gerd Zellweger Date: Thu, 7 Nov 2024 11:33:55 -0800 Subject: [PATCH] Fix menu being invisible in mobile version. Also fix wrong logo for collapsible nav. Signed-off-by: Gerd Zellweger --- docusaurus.config.ts | 1 + src/css/custom.css | 8 ++++++++ static/img/logo-color-dark.svg | 1 + 3 files changed, 10 insertions(+) create mode 100644 static/img/logo-color-dark.svg diff --git a/docusaurus.config.ts b/docusaurus.config.ts index a2f812b..a11d50e 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -76,6 +76,7 @@ const config: Config = { logo: { alt: 'Feldera Logo', src: 'img/logo-color-light.svg', + srcDark: 'img/logo-color-dark.svg', href: "https://www.feldera.com", }, items: [ diff --git a/src/css/custom.css b/src/css/custom.css index 4158e68..60e4c76 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -57,6 +57,10 @@ margin-top: -6px; } +.navbar-sidebar .navbar__logo img { + content: url('/img/logo-color-dark.svg'); +} + .navbar__link--active { font-weight: bold; } @@ -70,6 +74,10 @@ color: #fcbe6e; } +.navbar__toggle { + color: #ffffff !important; +} + .footer { background-color: #333333; color: white; diff --git a/static/img/logo-color-dark.svg b/static/img/logo-color-dark.svg new file mode 100644 index 0000000..af24542 --- /dev/null +++ b/static/img/logo-color-dark.svg @@ -0,0 +1 @@ + \ No newline at end of file