Commit 44f3eef
Fix StackCardAdd CSS covering card content in bottom mode
Removed z-index: 100 and position: relative from the base
.stack__card-add CSS, so they only apply when in top add-card mode.
Also removed the ::before gradient pseudo-element that extended above
the add-card control into the DnD container, covering card content
(like due date badges) and causing Cypress visibility failures.
The top mode still gets z-index: 100 + position: relative + a ::after
gradient (with pointer-events: none) to fade cards scrolling below.
The bottom mode is now a simple element with only padding, matching
the original behavior before the add-card refactor.
Co-authored-by: theoholl <36564257+theoholl@users.noreply.github.com>1 parent 9a937d4 commit 44f3eef
1 file changed
Lines changed: 3 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
134 | 133 | | |
135 | 134 | | |
136 | | - | |
137 | 135 | | |
138 | 136 | | |
| 137 | + | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
| 141 | + | |
141 | 142 | | |
142 | 143 | | |
143 | 144 | | |
| |||
156 | 157 | | |
157 | 158 | | |
158 | 159 | | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | 160 | | |
173 | 161 | | |
174 | 162 | | |
| |||
0 commit comments