1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 09:05:47 +02:00

Small color mode docs CSS fixes (#37896)

* SImplify background gradient syntax

* Move inline style to CSS file
This commit is contained in:
Mark Otto
2023-01-16 16:56:50 -08:00
committed by GitHub
parent ca88999448
commit 779baab369
2 changed files with 6 additions and 2 deletions

View File

@@ -95,7 +95,7 @@
<svg class="bi my-1 theme-icon-active"><use href="#circle-half"></use></svg>
<span class="d-lg-none ms-2" id="bd-theme-text">Toggle theme</span>
</button>
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="bd-theme-text" style="--bs-dropdown-min-width: 8rem;">
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="bd-theme-text">
<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 theme-icon"><use href="#sun-fill"></use></svg>