launch attachments in new window
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user