From 12734aca1627cde96736419a6bb5b5ae85e99f95 Mon Sep 17 00:00:00 2001 From: bunker-admin Date: Wed, 11 Mar 2026 16:51:55 -0600 Subject: [PATCH] Fix MkDocs search results not displaying with custom header Use inline JS styles (applySearchLayout) instead of CSS-only approach for search panel layout - fixes Firefox compatibility where cross-origin Material stylesheets override !important rules. Adds explicit height, flex layout, z-index, and background on search elements. Also fixes click-to-exit by deferring DOM queries to DOMContentLoaded. Syncs header-builder.service.ts with main.html changes. Bunker Admin --- .../modules/docs/header-builder.service.ts | 238 ++++++++-- mkdocs/docs/overrides/main.html | 282 +++++++++--- mkdocs/site/404.html | 352 ++++++++++++--- .../site/assets/images/social/test-page.png | Bin 66077 -> 66561 bytes .../repo-data/admin-changemaker.lite.json | 4 +- .../repo-data/anthropics-claude-code.json | 10 +- .../assets/repo-data/coder-code-server.json | 8 +- .../repo-data/gethomepage-homepage.json | 8 +- .../site/assets/repo-data/go-gitea-gitea.json | 10 +- .../site/assets/repo-data/knadh-listmonk.json | 4 +- .../site/assets/repo-data/lyqht-mini-qr.json | 8 +- mkdocs/site/assets/repo-data/n8n-io-n8n.json | 10 +- .../site/assets/repo-data/nocodb-nocodb.json | 10 +- .../site/assets/repo-data/ollama-ollama.json | 10 +- .../repo-data/squidfunk-mkdocs-material.json | 8 +- mkdocs/site/blog/index.html | 354 ++++++++++++--- mkdocs/site/comments/callback/index.html | 352 ++++++++++++--- .../docs/admin/advocacy/campaigns/index.html | 354 ++++++++++++--- .../admin/advocacy/email-queue/index.html | 354 ++++++++++++--- mkdocs/site/docs/admin/advocacy/index.html | 354 ++++++++++++--- .../admin/advocacy/representatives/index.html | 354 ++++++++++++--- .../docs/admin/advocacy/responses/index.html | 354 ++++++++++++--- .../broadcast/email-templates/index.html | 354 ++++++++++++--- mkdocs/site/docs/admin/broadcast/index.html | 354 ++++++++++++--- .../admin/broadcast/newsletter/index.html | 354 ++++++++++++--- .../site/docs/admin/broadcast/sms/index.html | 354 ++++++++++++--- mkdocs/site/docs/admin/dashboard/index.html | 354 ++++++++++++--- mkdocs/site/docs/admin/index.html | 354 ++++++++++++--- mkdocs/site/docs/admin/map/areas/index.html | 354 ++++++++++++--- .../site/docs/admin/map/canvassing/index.html | 354 ++++++++++++--- .../docs/admin/map/data-quality/index.html | 354 ++++++++++++--- mkdocs/site/docs/admin/map/index.html | 354 ++++++++++++--- .../site/docs/admin/map/locations/index.html | 354 ++++++++++++--- .../site/docs/admin/map/settings/index.html | 354 ++++++++++++--- mkdocs/site/docs/admin/map/shifts/index.html | 354 ++++++++++++--- mkdocs/site/docs/admin/media/ads/index.html | 354 ++++++++++++--- .../docs/admin/media/analytics/index.html | 354 ++++++++++++--- .../site/docs/admin/media/curated/index.html | 354 ++++++++++++--- mkdocs/site/docs/admin/media/index.html | 354 ++++++++++++--- .../site/docs/admin/media/library/index.html | 354 ++++++++++++--- .../docs/admin/media/moderation/index.html | 354 ++++++++++++--- .../docs/admin/payments/donations/index.html | 354 ++++++++++++--- mkdocs/site/docs/admin/payments/index.html | 354 ++++++++++++--- .../site/docs/admin/payments/plans/index.html | 354 ++++++++++++--- .../docs/admin/payments/products/index.html | 354 ++++++++++++--- .../docs/admin/payments/settings/index.html | 354 ++++++++++++--- .../site/docs/admin/people-access/index.html | 354 ++++++++++++--- .../docs/admin/services/crowdsec/index.html | 354 ++++++++++++--- mkdocs/site/docs/admin/services/index.html | 354 ++++++++++++--- .../admin/services/integrations/index.html | 354 ++++++++++++--- .../docs/admin/services/monitoring/index.html | 354 ++++++++++++--- .../docs/admin/services/tunnel/index.html | 354 ++++++++++++--- .../services/user-provisioning/index.html | 354 ++++++++++++--- mkdocs/site/docs/admin/settings/index.html | 354 ++++++++++++--- .../docs/admin/web/documentation/index.html | 354 ++++++++++++--- .../site/docs/admin/web/homepage/index.html | 354 ++++++++++++--- mkdocs/site/docs/admin/web/index.html | 354 ++++++++++++--- .../docs/admin/web/landing-pages/index.html | 354 ++++++++++++--- .../site/docs/admin/web/navigation/index.html | 354 ++++++++++++--- mkdocs/site/docs/api/index.html | 354 ++++++++++++--- mkdocs/site/docs/architecture/index.html | 354 ++++++++++++--- mkdocs/site/docs/deployment/index.html | 354 ++++++++++++--- .../getting-started/control-panel/index.html | 354 ++++++++++++--- .../environment-variables/index.html | 354 ++++++++++++--- .../docs/getting-started/features/index.html | 354 ++++++++++++--- .../getting-started/first-steps/index.html | 354 ++++++++++++--- mkdocs/site/docs/getting-started/index.html | 354 ++++++++++++--- .../getting-started/installation/index.html | 354 ++++++++++++--- .../docs/getting-started/services/index.html | 354 ++++++++++++--- .../docs/getting-started/upgrades/index.html | 354 ++++++++++++--- mkdocs/site/docs/index.html | 354 ++++++++++++--- mkdocs/site/docs/phil/index.html | 354 ++++++++++++--- mkdocs/site/docs/services/index.html | 354 ++++++++++++--- mkdocs/site/docs/troubleshooting/index.html | 354 ++++++++++++--- .../site/docs/user-guide/campaigns/index.html | 354 ++++++++++++--- .../site/docs/user-guide/donations/index.html | 354 ++++++++++++--- mkdocs/site/docs/user-guide/events/index.html | 354 ++++++++++++--- .../site/docs/user-guide/gallery/index.html | 354 ++++++++++++--- mkdocs/site/docs/user-guide/index.html | 354 ++++++++++++--- mkdocs/site/docs/user-guide/map/index.html | 354 ++++++++++++--- .../site/docs/user-guide/profile/index.html | 354 ++++++++++++--- mkdocs/site/docs/user-guide/shifts/index.html | 354 ++++++++++++--- mkdocs/site/docs/user-guide/shop/index.html | 354 ++++++++++++--- .../docs/volunteer/achievements/index.html | 354 ++++++++++++--- .../site/docs/volunteer/canvassing/index.html | 354 ++++++++++++--- mkdocs/site/docs/volunteer/index.html | 354 ++++++++++++--- mkdocs/site/docs/volunteer/shifts/index.html | 354 ++++++++++++--- mkdocs/site/docs/volunteer/social/index.html | 354 ++++++++++++--- mkdocs/site/main/index.html | 352 ++++++++++++--- mkdocs/site/overrides/main.html | 282 +++++++++--- mkdocs/site/search/search_index.json | 2 +- mkdocs/site/sitemap.xml | 160 +++---- mkdocs/site/sitemap.xml.gz | Bin 759 -> 759 bytes mkdocs/site/test-page/index.html | 414 ++++++++++++++---- mkdocs/site/test/index.html | 357 ++++++++++++--- mkdocs/site/testing/index.html | 352 ++++++++++++--- 96 files changed, 23020 insertions(+), 5701 deletions(-) diff --git a/api/src/modules/docs/header-builder.service.ts b/api/src/modules/docs/header-builder.service.ts index 4be563b..06f7e11 100644 --- a/api/src/modules/docs/header-builder.service.ts +++ b/api/src/modules/docs/header-builder.service.ts @@ -626,8 +626,6 @@ class HeaderBuilderService { diff --git a/mkdocs/site/test/index.html b/mkdocs/site/test/index.html index 70a0ac4..da48b6f 100644 --- a/mkdocs/site/test/index.html +++ b/mkdocs/site/test/index.html @@ -257,6 +257,19 @@