Skip to content

Commit

Permalink
fix: Apply cursor pointer only on clickable columns when using Bootst… (
Browse files Browse the repository at this point in the history
#1742)

* Ensure HTML Columns Return HTML Correctly (#1737)

* Adjust for HTML Columns

* fix: Apply cursor pointer only on clickable columns when using Bootstrap

---------

Co-authored-by: Joe <[email protected]>
  • Loading branch information
MP70 and lrljoe authored Jun 29, 2024
1 parent 8b3e3cf commit 2cd6684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/components/table/td.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
->class(['d-none' => $component->isBootstrap() && $column && $column->shouldCollapseAlways()])
->class(['d-none d-md-table-cell' => $component->isBootstrap() && $column && $column->shouldCollapseOnMobile()])
->class(['d-none d-lg-table-cell' => $component->isBootstrap() && $column && $column->shouldCollapseOnTablet()])
->style(['cursor:pointer' => $component->isBootstrap()])
->style(['cursor:pointer' => $component->isBootstrap() && $column && $column->isClickable()])
->except('default')
}}
>
Expand Down

0 comments on commit 2cd6684

Please sign in to comment.