css: wrong name

This commit is contained in:
Anirudh Oppiliappan 2022-12-17 12:47:54 +05:30
parent 9649b3ed2b
commit 4eaaf45129
No known key found for this signature in database
GPG Key ID: 8A93F96F78C5D4C4
2 changed files with 5 additions and 5 deletions

View File

@ -92,13 +92,13 @@ a:hover {
border-bottom: 1.5px solid var(--gray); border-bottom: 1.5px solid var(--gray);
} }
.repo-index { .index {
display: grid; display: grid;
grid-template-columns: 6em 1fr 7em; grid-template-columns: 6em 1fr 7em;
grid-row-gap: 0.5em; grid-row-gap: 0.5em;
} }
.repo-index-headings { .index-headings {
display: grid; display: grid;
grid-template-columns: 6em 1fr 7em; grid-template-columns: 6em 1fr 7em;
padding-bottom: 1.2em; padding-bottom: 1.2em;
@ -106,7 +106,7 @@ a:hover {
} }
@media (max-width: 385px) { @media (max-width: 385px) {
.repo-index { .index {
grid-row-gap: 0.8em; grid-row-gap: 0.8em;
} }
} }

View File

@ -8,12 +8,12 @@
</header> </header>
<body> <body>
<main> <main>
<div class="repo-index-headings small-heading"> <div class="index-headings small-heading">
<div>repository</div> <div>repository</div>
<div>description</div> <div>description</div>
<div>idle</div> <div>idle</div>
</div> </div>
<div class="repo-index"> <div class="index">
{{ range .info }} {{ range .info }}
<div><a href="/{{ .Name }}">{{ .Name }}</a></div> <div><a href="/{{ .Name }}">{{ .Name }}</a></div>
<div>{{ .Desc }}</div> <div>{{ .Desc }}</div>