File tree Expand file tree Collapse file tree 1 file changed +20
-13
lines changed
Expand file tree Collapse file tree 1 file changed +20
-13
lines changed Original file line number Diff line number Diff line change @@ -10,21 +10,28 @@ const info = await getCommitInfo(filePath);
1010{
1111 lastUpdated && (
1212 <p >
13- Last updated:
14- <time datetime = { lastUpdated .toISOString ()} >
15- { lastUpdated .toLocaleDateString (lang , {
16- dateStyle: " medium" ,
17- timeZone: " UTC" ,
18- })}
19- </time >
13+ <span class = " nowrap" >
14+ Last updated:
15+ <time datetime = { lastUpdated .toISOString ()} >
16+ { lastUpdated .toLocaleDateString (lang , {
17+ dateStyle: " medium" ,
18+ timeZone: " UTC" ,
19+ })}
20+ </time >
21+ </span >
22+ { " " }
2023 { info && (
21- <>
22- { " by " }
23- <a href = { info .committer .href } >{ info .committer .name } </a >
24- { " in " }
25- <a href = { ` https://github.com/${REPO }/commit/${info .hash } ` } >{ info .hash .substring (0 , 7 )} </a >
26- </>
24+ <span class = " nowrap" >
25+ by <a href = { info .committer .href } >{ info .committer .name } </a >
26+ in <a href = { ` https://github.com/${REPO }/commit/${info .hash } ` } >{ info .hash .substring (0 , 7 )} </a >
27+ </span >
2728 )}
2829 </p >
2930 )
3031}
32+
33+ <style >
34+ .nowrap {
35+ white-space: nowrap;
36+ }
37+ </style >
You can’t perform that action at this time.
0 commit comments