diff --git a/docs/.vitepress/src/assets/category/docs/docsBugBg.png b/docs/.vitepress/src/assets/category/docs/docsBugBg.png new file mode 100644 index 0000000000000000000000000000000000000000..aed2c65de801ba5e59379c4555bb70eca30cf59d Binary files /dev/null and b/docs/.vitepress/src/assets/category/docs/docsBugBg.png differ diff --git a/docs/.vitepress/src/assets/style/markdown.scss b/docs/.vitepress/src/assets/style/markdown.scss index 5830393c3ea4d4dc840c5179389d250871a6b951..45eb21f9d7256c05ad4fb60ad819714566d3a190 100644 --- a/docs/.vitepress/src/assets/style/markdown.scss +++ b/docs/.vitepress/src/assets/style/markdown.scss @@ -41,7 +41,7 @@ --o-gap-7: 16px; } - @include respond-to('<=phone') { + @include respond-to('phone') { --o-gap-1: 4px; --o-gap-2: 8px; --o-gap-3: 12px; @@ -158,6 +158,10 @@ border-radius: var(--o-radius-xs); margin: 0 auto; background-color: transparent; + + @include respond-to('phone') { + max-width: 100%; + } } code { @@ -392,6 +396,7 @@ } @include respond-to('phone') { + max-width: 100%; .img-expand-btn, .img-mask { display: none; diff --git a/docs/.vitepress/src/components/FloatingButton.vue b/docs/.vitepress/src/components/FloatingButton.vue index e4251ed67830af25da98fdcfb743f8f48ccf4644..35fdce8a6e4422694c0f73dfca6dabfafc058bac 100644 --- a/docs/.vitepress/src/components/FloatingButton.vue +++ b/docs/.vitepress/src/components/FloatingButton.vue @@ -15,7 +15,6 @@ import { useLocale } from '@/composables/useLocale'; const { gtPhone } = useScreen(); const { t } = useLocale(); -const docBugVisible = ref(false); const isDark = computed(() => { return useAppearance().theme === 'dark' ? true : false; @@ -45,9 +44,6 @@ onUnmounted(() => { - - {{ t('feedback.bugCatching') }} - @@ -55,17 +51,15 @@ onUnmounted(() => { - -