launch attachments in new window

This commit is contained in:
2023-03-29 14:57:39 +10:00
parent f49b6fef0f
commit a8627ca89e

View File

@@ -13,9 +13,12 @@
height="48" height="48"
width="48" /> width="48" />
</div> </div>
<a :href="file.url" class="sm-attachment-file-name">{{ <a
file.title || file.name :href="file.url"
}}</a> target="_blank"
class="sm-attachment-file-name"
>{{ file.title || file.name }}</a
>
<div class="sm-attachment-file-size"> <div class="sm-attachment-file-size">
({{ bytesReadable(file.size) }}) ({{ bytesReadable(file.size) }})
</div> </div>
@@ -39,7 +42,8 @@ const props = defineProps({
<style lang="scss"> <style lang="scss">
.sm-attachments { .sm-attachments {
h3 { h3 {
margin-top: map-get($spacer, 3); margin-top: map-get($spacer, 4);
margin-bottom: 0;
} }
.sm-attachment-row { .sm-attachment-row {