Skip to content

Commit

Permalink
Merge pull request #23 from lweijian/master
Browse files Browse the repository at this point in the history
feat: add gap in prev-next and add lastUpdated style
  • Loading branch information
sanyuan0704 committed Sep 20, 2022
2 parents 40d692c + bae5309 commit 78c62e2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/theme-default/components/DocFooter/index.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,16 @@
}

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

@media (min-width: 640px) {
.prev-next {
display: flex;
flex-direction:row;
justify-content: space-around;
}
}
Expand All @@ -57,7 +60,6 @@
.pager {
display: flex;
flex-direction: column;
flex-shrink: 0;
width: 50%;
}

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


.pager-link {
display: block;
border: 1px solid var(--island-c-divider-light);
Expand Down Expand Up @@ -112,7 +115,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

1 comment on commit 78c62e2

@vercel
Copy link

@vercel vercel bot commented on 78c62e2 Sep 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.