update: better table alignment for the package file list

This commit is contained in:
ngn 2024-08-26 00:41:09 +03:00
parent 6e41dee5dd
commit 6815f1a762
2 changed files with 9 additions and 6 deletions

View File

@ -22,15 +22,18 @@ main {
padding: 10px;
border: 1px solid var(--bright-third);
background: var(--dark-second);
color: var(--bright-second);
color: var(--bright-main);
vertical-align: top;
text-align: left;
font-weight: 400;
font-size: 16px;
flex-grow: 4;
}
.package th {
color: var(--bright-main);
font-weight: 400;
font-size: 16px;
.package .files {
display: flex;
flex-direction: column;
gap: 3px;
}
.package th a {

View File

@ -51,7 +51,7 @@
{{if $files}}
<tr>
<th>Files</th>
<th>
<th class="files">
{{range $files}}
<p>/{{.}}</p>
{{end}}