ui: mini 'fixes'

This commit is contained in:
Mikaël Cluseau
2025-06-29 08:06:59 +02:00
parent 85b9a45856
commit 37713f8c16
2 changed files with 5 additions and 9 deletions

View File

@ -10,16 +10,13 @@
.downloads { .downloads {
& > * { & > * {
display: inline-block; display: inline-block;
margin-left: 1ex; margin-right: 1ex;
margin-bottom: 1ex; margin-bottom: 1ex;
padding: 0.5ex; padding: 0.5ex;
border: 1px solid; border: 1px solid;
border-radius: 1ex; border-radius: 1ex;
cursor: pointer; cursor: pointer;
} }
& > *:first-child {
margin-left: 0;
}
& > .selected { & > .selected {
color: blue; color: blue;
} }

View File

@ -64,10 +64,9 @@ export default {
{{" "}} {{" "}}
</template> </template>
</p> </p>
<button :disabled="createDisabled || assets.length==0" @click="createToken">Create links</button> <p><button :disabled="createDisabled || assets.length==0" @click="createToken">Create links</button></p>
<template v-if="downloads.length"> <template v-if="downloads.length">
<h4>Active links</h4> <h4>Active links</h4>
<p class="download-links"><template v-for="d in downloads"><a :href="d.url" download>{{ d.name }}</a>{{" "}}</template></p> <p class="download-links"><template v-for="d in downloads"><a :href="d.url" download>{{ d.name }}</a>{{" "}}</template></p>
</template> </template>`
</div>`
} }