Skip to content

Commit 09161a1

Browse files
committed
feat: add gap in prev-next and add lastUpdated style
1 parent 22943b1 commit 09161a1

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

src/theme-default/components/DocFooter/index.module.scss

+13-4
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,23 @@
3838
}
3939

4040
.prev-next {
41-
border-top: 1px solid var(--island-c-divider-light);
42-
padding-top: 24px;
41+
display: flex;
42+
flex-direction: column;
43+
gap: 16px;
4344
}
4445

4546
@media (min-width: 640px) {
47+
.prev-next {
48+
display: flex;
49+
flex-direction:row;
50+
border-top: 1px solid var(--island-c-divider-light);
51+
padding-top: 24px;
52+
}
53+
4654
.prev-next {
4755
display: flex;
4856
justify-content: space-around;
57+
gap: 16px;
4958
}
5059
}
5160

@@ -57,7 +66,6 @@
5766
.pager {
5867
display: flex;
5968
flex-direction: column;
60-
flex-shrink: 0;
6169
width: 50%;
6270
}
6371

@@ -67,6 +75,7 @@
6775
}
6876
}
6977

78+
7079
.pager-link {
7180
display: block;
7281
border: 1px solid var(--island-c-divider-light);
@@ -112,7 +121,7 @@
112121
line-height: 24px;
113122
font-size: 14px;
114123
font-weight: 500;
115-
color: var(--vp-c-text-2);
124+
color: var(--island-c-text-2);
116125
}
117126

118127
@media (min-width: 640px) {

0 commit comments

Comments
 (0)