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