Skip to content

Commit 41f18c6

Browse files
Copilottheoholl
andcommitted
Add matching bottom list gradient
Co-authored-by: theoholl <36564257+theoholl@users.noreply.github.com>
1 parent 6fed78b commit 41f18c6

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

src/components/board/StackCardAdd.vue

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,23 @@ export default {
154154
}
155155
156156
.stack--add-card-at-bottom & {
157+
position: relative;
158+
z-index: 100;
157159
padding-bottom: $stack-gap;
160+
161+
// Smooth fade out of the cards above the control
162+
&:before {
163+
content: '';
164+
display: block;
165+
position: absolute;
166+
width: 100%;
167+
height: $stack-gap;
168+
top: 0;
169+
z-index: 99;
170+
pointer-events: none;
171+
background-image: linear-gradient(0deg, var(--color-main-background) 0%, transparent 100%);
172+
transform: translateY(-100%);
173+
}
158174
}
159175
160176
:deep(.stack__card-add-button.button-vue) {

0 commit comments

Comments
 (0)