File tree Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 5
5
6
6
<template >
7
7
<div v-if =" cardId && ( attachments.length > 0 )" class =" card-cover" >
8
- <div v-for =" ( attachment, index) in attachments"
8
+ <div v-for =" attachment in attachments"
9
9
:key =" attachment.id"
10
- : class =" [' image-wrapper', { 'rounded-left': index === 0 }, { 'rounded-right': index === attachments.length - 1 }] "
10
+ class =" image-wrapper"
11
11
:style =" { backgroundImage: `url(${attachmentPreview(attachment)})` }" />
12
12
</div >
13
13
</template >
@@ -76,12 +76,6 @@ export default {
76
76
background- size: cover;
77
77
background- repeat: no- repeat;
78
78
background- position: center center;
79
- & .rounded - left {
80
- border- top- left- radius: calc (var (-- border- radius- large) - 1px );
81
- }
82
- & .rounded - right {
83
- border- top- right- radius: calc (var (-- border- radius- large) - 1px );
84
- }
85
79
}
86
80
}
87
81
< / style>
Original file line number Diff line number Diff line change @@ -307,6 +307,7 @@ export default {
307
307
display: flex;
308
308
flex- direction: column;
309
309
gap: $card- gap;
310
+ overflow: hidden;
310
311
311
312
& : deep (* ) {
312
313
cursor: pointer;
Original file line number Diff line number Diff line change 6
6
$card-max-width : 300px ;
7
7
$card-padding : calc (var (--default-grid-baseline ) * 2 ) calc (var (--default-grid-baseline ) * 2 ) var (--default-grid-baseline );
8
8
$card-gap : calc (var (--default-grid-baseline ) * 3 );
9
- $card-image-margin : calc (var (--default-grid-baseline ) * -1 );
9
+ $card-image-margin : calc (var (--default-grid-baseline ) * -2 );
10
10
$stack-gap : calc (var (--default-grid-baseline ) * 3 );
11
11
$board-gap : calc (var (--default-grid-baseline ) * 4 );
You can’t perform that action at this time.
0 commit comments