Copilot commented on code in PR #38:
URL:
https://github.com/apache/sedona-spatialbench/pull/38#discussion_r2374160983
##########
docs/stylesheets/extra.css:
##########
@@ -82,3 +70,39 @@
height: 42px; /* This should match the Apache Sedona logo size */
width: auto; /* Ensures the width scales proportionally */
}
+
+/* ==========================================================================
+ Mobile Navigation Styles
+ ==========================================================================
*/
+
+/*
+ Force the entire mobile navigation header to be black, overriding theme
defaults.
+*/
+.md-nav--primary .md-nav__title,
+.md-nav--primary .md-nav__source {
+ background-color: var(--color-dark) !important;
+}
+
+/* ==========================================================================
+ Swap Logo ONLY in Mobile Navigation
+ ==========================================================================
*/
+
+/*
+ Target the logo link (<a> tag) directly and apply the new logo
+ as a background image, overriding the theme's default icon.
+*/
+.md-sidebar--primary .md-nav__title a.md-nav__button.md-logo {
+ background-image:
url('../../docs-overrides/.icons/sedona_logo_symbol_white.svg');
Review Comment:
The relative path '../../docs-overrides/.icons/sedona_logo_symbol_white.svg'
assumes a specific directory structure. Consider using an absolute path from
the project root or verifying this path exists to prevent broken image
references.
```suggestion
background-image:
url('/docs-overrides/.icons/sedona_logo_symbol_white.svg');
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]