monospace download links

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
This commit is contained in:
Joshua Castle committed 2024-03-03 11:56:25 -08:00
1 parent 4f8fe2c158
commit d43a73c81e
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -105,7 +105,7 @@ export const ProjectDownload: React.FC<ProjectDownloadProps> = ({ projectId, des
changes.map((change, i) => {
return (
<li key={i}><b>{
<a href={`https://github.com/GeyserMC/${platformInfo.project_name}/commit/${change.commit}`}>{change.commit.substring(0, 7)}</a>
<a className='download-link' href={`https://github.com/GeyserMC/${platformInfo.project_name}/commit/${change.commit}`}>{change.commit.substring(0, 7)}</a>
}</b> · {<LinkedCommitMessage message={change.summary} repo={platformInfo.project_name}/>}</li>
)
})
+4
View File
@@ -224,6 +224,10 @@ html[data-theme='dark'] {
color: #fff;
}
.download-link {
font-family: var(--ifm-font-family-monospace);
}
.host-select select {
font-family: inherit;
padding: 11px;