misc tuning

This commit is contained in:
sinsong 2023-07-05 00:07:30 +08:00
parent bc5dc1ad19
commit 4bfe16dafc
4 changed files with 8 additions and 4 deletions

View file

@ -1,7 +1,7 @@
<template>
<footer>
<p>Copyright &copy; 2023-present BioArchLinux members.</p>
<p>Made by literal.</p>
<p>Copyright &copy; 2023-present <a href="https://bioarchlinux.org" title="Contact Community">BioArchLinux members</a>.</p>
<p>Made by <a href="https://github.com/sinsong">literal</a>.</p>
<p>The registered trademark Linux® is used pursuant to a sublicense from LMI, the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis.</p>
</footer>
</template>

View file

@ -64,7 +64,7 @@ watch(
<td v-for="heading in tableHeaders">
<router-link v-if="heading.field == 'name'" :to="`/${pkg.name}`">{{pkg.name}}</router-link>
<time v-else-if="heading.field == 'builddate'" :datetime="moment.unix(pkg.builddate).format()">{{ moment.unix(pkg.builddate).format('YYYY-MM-DD') }}</time>
<span v-else>{{ pkg[heading.field] }}</span>
<span v-else :class="{ wrap: heading.field === 'desc' }">{{ pkg[heading.field] }}</span>
</td>
</tr>
</tbody>

View file

@ -15,7 +15,7 @@
-webkit-text-size-adjust: 100%;
}
@media screen and (max-width: 576px) {
@media screen and (max-width: 650px) {
:root {
font-size: 12px;
}

View file

@ -41,6 +41,10 @@ table {
margin: .5em 0;
}
.wrap {
white-space: normal;
}
.box {
border: 1px solid #bcd;
padding: .5em;