Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ghost Class Styling #1253

Open
cpassafaro opened this issue Feb 20, 2025 · 0 comments
Open

Ghost Class Styling #1253

cpassafaro opened this issue Feb 20, 2025 · 0 comments

Comments

@cpassafaro
Copy link

There isn't any css being applied when I set up a css class for the ghost container. This is the set up below

<draggable
                        v-if="mainAnswer.length !== 0"
                        class="d-flex flex-wrap flex-row justify-center flex-fill no-select"
                        :list="mainAnswer"
                        :disabled="!allow_drag"
                        group="people"
                        :forceFallback="true"
                        fallback-class="drag-ghost"
                        ghost-class="custom-ghost"
                        :move="onMoveCallback"
                    >

.custom-ghost {
    width: auto;
    min-width: 150px;
    background-color: purple;
    color: green;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant