Drag & drop: customize target with CSS #817
-
Hi When dragging an item from a list, I'm able to
but, I would like to customize the target of the drop, before I drop it there Currently, we can see some grey text under the dragged element https://codepen.io/GATIGA/pen/PoJrJQq Does anybody have an idea on how I can customize it? (I've been trying almost all selectors I could find https://www.w3schools.com/cssref/css_selectors.asp Regards |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Also have a strange behavior: |
Beta Was this translation helpful? Give feedback.
-
Since Mavo uses Dragula under the hood, I would suggest you take a look at the classes it exposes. That might help. Here are the styles Mavo supports out-of-box (that you can override, of course 😄): Lines 148 to 175 in 4b719ae |
Beta Was this translation helpful? Give feedback.
Since Mavo uses Dragula under the hood, I would suggest you take a look at the classes it exposes. That might help.
Here are the styles Mavo supports out-of-box (that you can override, of course 😄):
mavo/src-css/mavo.scss
Lines 148 to 175 in 4b719ae