1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 19:47:45 +00:00

Merge pull request #3385 from tertsdiepraam/docs-platform-info

Docs: Fix the platform icons not showing up in some browsers
This commit is contained in:
Sylvestre Ledru 2022-04-11 17:23:36 +02:00 committed by GitHub
commit 9214249bdd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

4
docs/theme/head.hbs vendored
View file

@ -7,7 +7,7 @@
}
.additional {
position: absolute;
top: 0em;
top: 0.5em;
right: 0;
display: flex;
gap: 5px;
@ -15,7 +15,7 @@
font-size: 1.3em;
}
.platforms {
font-size: 1.5em;
font-size: 2rem;
}
dd > p {
margin-top: 0.2em;

View file

@ -144,7 +144,7 @@ impl<'a, 'b> MDWriter<'a, 'b> {
.iter()
.any(|u| u == self.name)
{
writeln!(self.w, "<i class=\"fa-brands fa-{}\"></i>", icon)?;
writeln!(self.w, "<i class=\"fa fa-brands fa-{}\"></i>", icon)?;
}
}
writeln!(self.w, "</div>")?;