diff --git a/docs/.vitepress/theme/components/base/ButtonMenu.vue b/docs/.vitepress/theme/components/base/ButtonMenu.vue index 618642d4a..a06191a85 100644 --- a/docs/.vitepress/theme/components/base/ButtonMenu.vue +++ b/docs/.vitepress/theme/components/base/ButtonMenu.vue @@ -161,7 +161,10 @@ ul.menu-items { .arrow-up-button::before { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%0A%3E%3Cpolyline points='18 15 12 9 6 15' /%3E%3C/svg%3E%0A"); width: 20px; - height: 28px; + height: 20px; + /* line-height 0 keeps the chevron image at the top of this box, so the button's flex centering + centers it; it used to rely on VitePress 1's 38px button line-height instead */ + line-height: 0; margin: auto; display: block; } diff --git a/docs/.vitepress/theme/components/base/CardGrid.vue b/docs/.vitepress/theme/components/base/CardGrid.vue index 9f022ec8d..490bbca2f 100644 --- a/docs/.vitepress/theme/components/base/CardGrid.vue +++ b/docs/.vitepress/theme/components/base/CardGrid.vue @@ -21,13 +21,13 @@ padding: 8px; } -@media (min-width: 960px) { +@media (min-width: 60rem) { .card-grid-flex > * { flex-basis: 50%; } } -@media (min-width: 1280px) { +@media (min-width: 80rem) { .card-grid-flex > * { flex-basis: 33.33%; } diff --git a/docs/.vitepress/theme/components/base/Checkbox.vue b/docs/.vitepress/theme/components/base/Checkbox.vue index 058d9fdf5..dd3ddcd74 100644 --- a/docs/.vitepress/theme/components/base/Checkbox.vue +++ b/docs/.vitepress/theme/components/base/Checkbox.vue @@ -75,6 +75,7 @@ const model = computed({ appearance: none; width: 16px; height: 16px; + margin: 3px 3px 3px 4px; cursor: pointer; border: 1px solid var(--vp-input-border-color); background-color: var(--vp-input-switch-bg-color); diff --git a/docs/.vitepress/theme/components/base/LayoutTop.vue b/docs/.vitepress/theme/components/base/LayoutTop.vue index e008251f6..cac96d7d8 100644 --- a/docs/.vitepress/theme/components/base/LayoutTop.vue +++ b/docs/.vitepress/theme/components/base/LayoutTop.vue @@ -29,7 +29,7 @@ import RocketDuotoneIcon from '../home/RocketDuotoneIcon.ts';