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; padding: 10px;
border: 1px solid var(--bright-third); border: 1px solid var(--bright-third);
background: var(--dark-second); background: var(--dark-second);
color: var(--bright-second); color: var(--bright-main);
vertical-align: top;
text-align: left; text-align: left;
font-weight: 400;
font-size: 16px;
flex-grow: 4; flex-grow: 4;
} }
.package th { .package .files {
color: var(--bright-main); display: flex;
font-weight: 400; flex-direction: column;
font-size: 16px; gap: 3px;
} }
.package th a { .package th a {

View File

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