diff --git a/docs/.vitepress/src/components/DocMenu.vue b/docs/.vitepress/src/components/DocMenu.vue index 98ffbfd106bb1631dffd002f13bdead2fac394b0..732ea176d938e998d008eb30cb08d7df56916147 100644 --- a/docs/.vitepress/src/components/DocMenu.vue +++ b/docs/.vitepress/src/components/DocMenu.vue @@ -129,6 +129,10 @@ const expanded = useVModel(props, 'expanded', emits); @include hover { --menu-item-bg-color-hover: transparent; } + + @include respond-to('<=laptop') { + margin-bottom: 12px; + } } .menu-content { diff --git a/docs/.vitepress/src/components/DocSearch.vue b/docs/.vitepress/src/components/DocSearch.vue index 8c2435c44c71cdedd461ec45cb461897a701ad7a..c54a05a460bdd5adceb32ceaf50a3bef9232564a 100644 --- a/docs/.vitepress/src/components/DocSearch.vue +++ b/docs/.vitepress/src/components/DocSearch.vue @@ -64,9 +64,26 @@ const clearSearchDoc = () => { .o-input { transition: width var(--o-easing-standard-in) var(--o-duration-m2); } - margin-bottom: 22px; + margin-bottom: 24px; height: 40px; width: var(--layout-doc-menu-width); + + @include respond-to('<=laptop') { + margin-bottom: 12px; + + .o-icon svg { + width: 16px; + } + } + + @include respond-to('phone') { + height: 38px; + margin-bottom: 8px; + + .o-input { + @include text2; + } + } } .search-panel { width: 100%; diff --git a/docs/.vitepress/src/components/FloatingButton.vue b/docs/.vitepress/src/components/FloatingButton.vue index d6f5ccbb38b5a058d0dbd9cdb18abbd4e1ed4476..e17f84e962369db35749ba9160b0de33e06be234 100644 --- a/docs/.vitepress/src/components/FloatingButton.vue +++ b/docs/.vitepress/src/components/FloatingButton.vue @@ -61,7 +61,7 @@ onUnmounted(() => { .feedback-home { position: fixed; bottom: 257px; - right: 80px; + right: 64px; z-index: 10; height: 200px; diff --git a/docs/.vitepress/src/components/FloatingButtonDocs.vue b/docs/.vitepress/src/components/FloatingButtonDocs.vue index 7d6f401775e6d6e11c28638c6187833628f77ece..22f0302948dfcc4dea2d89d50a42579f7831ae9d 100644 --- a/docs/.vitepress/src/components/FloatingButtonDocs.vue +++ b/docs/.vitepress/src/components/FloatingButtonDocs.vue @@ -360,12 +360,21 @@ onUnmounted(() => { .feedback { position: fixed; bottom: 160px; - right: 80px; + right: 64px; z-index: 10; height: 200px; + width: 48px; @include respond-to('<=laptop') { - right: 24px; + right: 40px; + } + + @include respond-to('<=pad') { + right: 32px; + } + + @include respond-to('phone') { + right: 12px; } } .dark-nav { @@ -381,7 +390,7 @@ onUnmounted(() => { .nav-box2 { display: flex; flex-direction: column; - padding: 16px 12px; + padding: 12px; background-color: var(--o-color-fill2); border-radius: var(--o-radius-xs); box-shadow: var(--o-shadow-2); @@ -393,6 +402,7 @@ onUnmounted(() => { color: var(--o-color-info1); cursor: pointer; .text-name { + transform: scale(0.8); @include tip2; } @@ -407,6 +417,7 @@ onUnmounted(() => { } .o-link { margin-top: 12px; + padding: 0; } .nav-box2 { diff --git a/docs/.vitepress/src/layouts/LayoutDoc.vue b/docs/.vitepress/src/layouts/LayoutDoc.vue index 835f1f7833380ea25b2d89dc13444787f49062ce..20327d000c7accbaa03d4913a3c7d65e153ae425 100644 --- a/docs/.vitepress/src/layouts/LayoutDoc.vue +++ b/docs/.vitepress/src/layouts/LayoutDoc.vue @@ -424,6 +424,7 @@ onUnmounted(() => {