Skip to content

Commit

Permalink
Merge pull request #2900 from Leantime/tickets-kanban-moveable-fix
Browse files Browse the repository at this point in the history
fixed the issue with moving the tickets
  • Loading branch information
marcelfolaron authored Jan 16, 2025
2 parents 84b2a96 + 3e857bd commit 1cf4ae7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/Domain/Tickets/Js/ticketsController.js
Original file line number Diff line number Diff line change
Expand Up @@ -1050,7 +1050,7 @@ export const initTicketKanban = function (ticketStatusListParameter) {

jQuery(currentElement).find(".contentInner").sortable({
connectWith: ".contentInner",
items: "> .moveable",
items: "> .moveable-card",
tolerance: 'intersect',
placeholder: "ui-state-highlight",
forcePlaceholderSize: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

@else

<x-global::content.card>
<x-global::content.card class="moveable-card">
<div class="flex">
<div class="ticket-title leading-none">
@if(filter_var($showProject, FILTER_VALIDATE_BOOLEAN))
Expand Down
6 changes: 3 additions & 3 deletions app/Views/Templates/components/content/card/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@

@switch($variation)
@case('item')
<div class="card bg-base-100 card-compact shadow-md mb-2 border {{ $contentClass }}">
<div {{ $attributes->merge(['class' => 'card bg-base-100/90 card-compact shadow-md mb-2 border ' . $contentClass]) }}>
@break
@case('content')
<div class="card bg-base-100/90 mix-blend-luminosity card-compact shadow-lg mb-2 border {{ $contentClass }}">
<div {{ $attributes->merge(['class' => 'card bg-base-100/90 card-compact shadow-md mb-2 border ' . $contentClass]) }}>
@break
@case('widget')
<div class="card bg-base-100/90 card-compact shadow-md mb-2 border {{ $contentClass }}">
<div {{ $attributes->merge(['class' => 'card bg-base-100/90 card-compact shadow-md mb-2 border ' . $contentClass]) }}>
@break
@endswitch

Expand Down

0 comments on commit 1cf4ae7

Please sign in to comment.