Skip to content

Commit b3a17c2

Browse files
committed
wip: try
1 parent 2e84929 commit b3a17c2

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

docs/.vitepress/theme/components/OldDocument.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
<style>
1212
.old-document {
1313
position: fixed;
14+
top: 0;
15+
left: 0;
1416
display: flex;
1517
height: var(--vp-layout-top-height);
1618
width: 100%;

docs/.vitepress/theme/components/WrappedLayout.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import OldDocument from './OldDocument.vue'
44
</script>
55

66
<template>
7+
<OldDocument />
78
<Theme.Layout>
89
<template #sidebar-bottom>
910
<slot name="sidebar-bottom"></slot>
1011
</template>
1112
</Theme.Layout>
12-
<OldDocument />
1313
</template>

docs/.vitepress/theme/custom.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
opacity: 0.8;
4040
}
4141

42-
// old document warning
42+
/* old document warning */
4343
:root {
4444
--vp-layout-top-height: 96px;
4545
@media (min-width: 455px) {

0 commit comments

Comments
 (0)