File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,11 @@ html[data-theme='dark'] .icon {
9595 display : inline-block;
9696 margin-bottom : 1.2em ;
9797 padding : 0.25em 1em 0.2em 1em ;
98+ scroll-margin-top : calc (var (--ifm-navbar-height ) + 0.5rem );
99+ }
100+
101+ .date : hover {
102+ text-decoration : none;
98103}
99104
100105html [data-theme = 'dark' ] .date {
Original file line number Diff line number Diff line change @@ -18,14 +18,17 @@ const AlumniTimeline = ({ alumni }: AlumniProps): ReactElement => (
1818 < div className = { styles . iconWrap } >
1919 < span className = { styles . icon } />
2020 </ div >
21- < div className = { styles . body } >
22- < p className = { styles . date } >
21+ < section className = { styles . body } >
22+ < a
23+ id = { String ( classOf ) }
24+ href = { `#${ classOf } ` }
25+ className = { styles . date } >
2326 < Translate id = "alumni.classOf" values = { { classOf } } >
2427 { '{classOf} 届' }
2528 </ Translate >
26- </ p >
29+ </ a >
2730 < MemberList members = { members } />
28- </ div >
31+ </ section >
2932 </ li >
3033 )
3134 ) }
You can’t perform that action at this time.
0 commit comments