File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed
resources/views/components/tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 5959 </div >
6060
6161 @if (count ($actions ) )
62- <div class =" dd-nodrag ml-auto px-1 " >
62+ <div class =" dd-nodrag ml-auto px-2 " >
6363 <x-filament-tree::actions :actions =" $actions" :record =" $record" />
6464 </div >
6565 @endif
Original file line number Diff line number Diff line change @@ -127,6 +127,8 @@ protected function configureDeleteAction(Actions\DeleteAction $action): Actions\
127127 {
128128 $ action ->tree ($ this ->getCachedTree ());
129129
130+ $ action ->iconButton ();
131+
130132 $ this ->afterConfiguredDeleteAction ($ action );
131133
132134 return $ action ;
@@ -136,6 +138,8 @@ protected function configureEditAction(Actions\EditAction $action): Actions\Edit
136138 {
137139 $ action ->tree ($ this ->getCachedTree ());
138140
141+ $ action ->iconButton ();
142+
139143 $ schema = $ this ->getEditFormSchema ();
140144
141145 if (empty ($ schema )) {
@@ -157,6 +161,8 @@ protected function configureViewAction(Actions\ViewAction $action): Actions\View
157161 {
158162 $ action ->tree ($ this ->getCachedTree ());
159163
164+ $ action ->iconButton ();
165+
160166 $ schema = $ this ->getViewFormSchema ();
161167
162168 if (empty ($ schema )) {
Original file line number Diff line number Diff line change @@ -117,6 +117,8 @@ protected function configureDeleteAction(DeleteAction $action): DeleteAction
117117 {
118118 $ action ->tree ($ this ->getCachedTree ());
119119
120+ $ action ->iconButton ();
121+
120122 $ this ->afterConfiguredDeleteAction ($ action );
121123
122124 return $ action ;
@@ -126,6 +128,8 @@ protected function configureEditAction(EditAction $action): EditAction
126128 {
127129 $ action ->tree ($ this ->getCachedTree ());
128130
131+ $ action ->iconButton ();
132+
129133 $ schema = $ this ->getEditFormSchema ();
130134
131135 if (empty ($ schema )) {
@@ -145,6 +149,8 @@ protected function configureViewAction(ViewAction $action): ViewAction
145149 {
146150 $ action ->tree ($ this ->getCachedTree ());
147151
152+ $ action ->iconButton ();
153+
148154 $ schema = $ this ->getViewFormSchema ();
149155
150156 if (empty ($ schema )) {
You can’t perform that action at this time.
0 commit comments