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> <template>
<footer> <footer>
<p>Copyright &copy; 2023-present BioArchLinux members.</p> <p>Copyright &copy; 2023-present <a href="https://bioarchlinux.org" title="Contact Community">BioArchLinux members</a>.</p>
<p>Made by literal.</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> <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> </footer>
</template> </template>

View file

@ -64,7 +64,7 @@ watch(
<td v-for="heading in tableHeaders"> <td v-for="heading in tableHeaders">
<router-link v-if="heading.field == 'name'" :to="`/${pkg.name}`">{{pkg.name}}</router-link> <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> <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> </td>
</tr> </tr>
</tbody> </tbody>

View file

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

View file

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