chore: make the tooltip stay on interaction

bug-new
jatin 2024-12-11 12:35:37 +05:30
parent 4c512015ed
commit 3ef8d861fc
3 changed files with 13 additions and 9 deletions

View File

@ -197,6 +197,7 @@ $(() => {
mouseenter: true, mouseenter: true,
touchstart: true, touchstart: true,
}, },
interactive: true,
delayTouch: [0, 2000], delayTouch: [0, 2000],
}); });

File diff suppressed because one or more lines are too long

View File

@ -7,6 +7,7 @@
</thead> </thead>
<tbody> <tbody>
{foreach from=$line_items item="line_item"} {foreach from=$line_items item="line_item"}
{if !$line_item["backofficeOnly"]}
<tr class="even:bg-blue-500/10"> <tr class="even:bg-blue-500/10">
<td class="py-1 pl-2"> <td class="py-1 pl-2">
{$line_item["label"]} {$line_item["label"]}
@ -15,6 +16,7 @@
{$line_item["value"]} {$line_item["value"]}
</td> </td>
</tr> </tr>
{/if}
{/foreach} {/foreach}
</tbody> </tbody>
</table> </table>