This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-site.git
The following commit(s) were added to refs/heads/main by this push:
new 6d6cb719c1 Fixed theme toggler (#1362)
6d6cb719c1 is described below
commit 6d6cb719c154e2900197e51ac09c14a63246ac92
Author: Shashiranjan singh <[email protected]>
AuthorDate: Tue Dec 30 03:27:47 2025 +0530
Fixed theme toggler (#1362)
---
landing-pages/site/layouts/partials/theme-toggler.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/landing-pages/site/layouts/partials/theme-toggler.html
b/landing-pages/site/layouts/partials/theme-toggler.html
index 4f2d7f2ced..dd5ed9a55e 100644
--- a/landing-pages/site/layouts/partials/theme-toggler.html
+++ b/landing-pages/site/layouts/partials/theme-toggler.html
@@ -41,7 +41,7 @@
<button class="btn
{{- if $isExamples }} btn-bd-primary
{{- else }} btn-link nav-link
- {{- end }} dropdown-toggle d-flex align-items-center
theme-switcher"
+ {{- end }} dropdown-toggle d-flex align-items-center
theme-switcher" id="bd-theme"
type="button"
aria-expanded="false"
data-bs-toggle="dropdown"
@@ -52,7 +52,7 @@
<span class="{{ if $isExamples }}visually-hidden{{ else }}d-lg-none ms-2{{
end }}" id="bd-theme-text">Toggle theme</span>
*/}}
</button>
-<ul class="dropdown-menu dropdown-menu-end{{ if $isExamples }} shadow{{ end
}}">
+<ul class="dropdown-menu dropdown-menu-end{{ if $isExamples }} shadow{{ end
}}" aria-labelledby="bd-theme">
<li>
<button type="button" class="dropdown-item d-flex align-items-center"
data-bs-theme-value="light" aria-pressed="false">
<svg class="bi me-2 opacity-50"><use href="#sun-fill"></use></svg>