Skip to content

Commit

Permalink
feat: add gap in prev-next and add lastUpdated style
Browse files Browse the repository at this point in the history
  • Loading branch information
lweijian committed Sep 19, 2022
1 parent 22943b1 commit 09161a1
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions src/theme-default/components/DocFooter/index.module.scss
Expand Up @@ -38,14 +38,23 @@
}

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

@media (min-width: 640px) {
.prev-next {
display: flex;
flex-direction:row;
border-top: 1px solid var(--island-c-divider-light);
padding-top: 24px;
}

.prev-next {
display: flex;
justify-content: space-around;
gap: 16px;
}
}

Expand All @@ -57,7 +66,6 @@
.pager {
display: flex;
flex-direction: column;
flex-shrink: 0;
width: 50%;
}

Expand All @@ -67,6 +75,7 @@
}
}


.pager-link {
display: block;
border: 1px solid var(--island-c-divider-light);
Expand Down Expand Up @@ -112,7 +121,7 @@
line-height: 24px;
font-size: 14px;
font-weight: 500;
color: var(--vp-c-text-2);
color: var(--island-c-text-2);
}

@media (min-width: 640px) {
Expand Down

0 comments on commit 09161a1

Please sign in to comment.