fixed Backlinks.tsx
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Struchkov Mark 2024-09-05 02:18:52 +03:00
parent 656af4a884
commit f0d099da8d
No known key found for this signature in database
GPG Key ID: A3F0AC3F0FA52F3C
3 changed files with 5 additions and 2 deletions

View File

@ -14,7 +14,7 @@ const Backlinks: QuartzComponent = ({
const backlinkFiles = allFiles.filter((file) => file.links?.includes(slug))
return backlinkFiles.length <= 0 ? null : (
<div class={classNames(displayClass, "backlinks")}>
<h3>{i18n(cfg.locale).components.backlinks.title}</h3>
<h2>{i18n(cfg.locale).components.backlinks.title}</h2>
<ul class="overflow">
{backlinkFiles.map((f) => (
<li key={f.slug}>

View File

@ -8,7 +8,6 @@
& > ul {
list-style: none;
padding: 0;
margin: 0.5rem 0;
& > li {

View File

@ -21,4 +21,8 @@ a.internal {
.search>#search-container {
background-color: #23252f33;
backdrop-filter: blur(8px);
}
.backlinks>ul {
list-style: disc;
}