File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed
packages/core/src/theme/components Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 11.rp-doc-footer {
22 margin-top : 48px ;
3+ & __edit {
4+ display : flex ;
5+ justify-content : space-between ;
6+ align-items : center ;
7+ }
38 & __divider {
49 width : 100% ;
510 height : 0.5px ;
Original file line number Diff line number Diff line change 11import { useSite } from '@rspress/core/runtime' ;
2- import { LastUpdated , PrevNextPage } from '@theme' ;
2+ import { EditLink , LastUpdated , PrevNextPage } from '@theme' ;
33import './index.scss' ;
44
55export function DocFooter ( ) {
@@ -9,7 +9,10 @@ export function DocFooter() {
99
1010 return (
1111 < footer className = "rp-doc-footer" >
12- { showLastUpdated && < LastUpdated /> }
12+ < div className = "rp-doc-footer__edit" >
13+ < EditLink />
14+ { showLastUpdated && < LastUpdated /> }
15+ </ div >
1316 < div className = "rp-doc-footer__divider" />
1417 < PrevNextPage />
1518 </ footer >
Original file line number Diff line number Diff line change 33 text-decoration : none ;
44 font-size : 15px ;
55 font-weight : 500 ;
6- margin : 20px 0 ;
76 transition : all 0.2s ease-in-out ;
87
98 & :hover {
You can’t perform that action at this time.
0 commit comments