[Torrents UI] Fixed style for files list

This commit is contained in:
Fabio Manganiello 2024-07-20 23:58:13 +02:00
parent 929271ee0e
commit baa584c1ca
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -99,7 +99,7 @@
<div class="row" v-if="transfers[selectedItem].files"> <div class="row" v-if="transfers[selectedItem].files">
<div class="attr">Files</div> <div class="attr">Files</div>
<div class="value"> <div class="value files-container">
<div class="file" v-for="(file, i) in transfers[selectedItem].files" :key="i"> <div class="file" v-for="(file, i) in transfers[selectedItem].files" :key="i">
<a :href="`/file?path=${encodeURIComponent(file)}`" target="_blank" v-text="file" /> <a :href="`/file?path=${encodeURIComponent(file)}`" target="_blank" v-text="file" />
</div> </div>
@ -215,6 +215,16 @@ export default {
} }
} }
} }
.files-container {
flex-direction: column;
}
.file {
margin-bottom: 0.5em;
padding-bottom: 0.5em;
border: $border-color-3;
}
} }
:deep(.modal-body) { :deep(.modal-body) {