File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
resources/views/components/tools/toolbar/items Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -94,8 +94,8 @@ class="origin-top-right absolute right-0 mt-2 w-full md:w-48 rounded-md shadow-l
9494 {{
9595 $attributes -> merge ($this -> getBulkActionsMenuAttributes )
9696 -> class ([
97- ' dropdown-menu dropdown-menu-right w-100 ' => $isBootstrap4 && ($this -> getBulkActionsMenuAttributes [' default-styling' ] ?? true ),
98- ' dropdown-menu dropdown-menu-end w-100 ' => $isBootstrap5 && ($this -> getBulkActionsMenuAttributes [' default-styling' ] ?? true ),
97+ ' dropdown-menu dropdown-menu-right w-auto ' => $isBootstrap4 && ($this -> getBulkActionsMenuAttributes [' default-styling' ] ?? true ),
98+ ' dropdown-menu dropdown-menu-end w-auto ' => $isBootstrap5 && ($this -> getBulkActionsMenuAttributes [' default-styling' ] ?? true ),
9999 ])
100100 -> except ([' default' ,' default-styling' ,' default-colors' ])
101101 } }
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ class="inline-flex items-center px-2 py-1 disabled:opacity-50 disabled:cursor-wa
122122 {{
123123 $attributes -> merge ($this -> getColumnSelectButtonAttributes ())
124124 -> class ([
125- ' btn dropdown-toggle d-block w-100 d-md-inline' => $this -> getColumnSelectButtonAttributes ()[' default-styling' ],
125+ ' btn dropdown-toggle d-block w-auto d-md-inline' => $this -> getColumnSelectButtonAttributes ()[' default-styling' ],
126126 ])
127127 -> except ([' default-styling' , ' default-colors' ])
128128 } }
@@ -135,8 +135,8 @@ class="inline-flex items-center px-2 py-1 disabled:opacity-50 disabled:cursor-wa
135135 <div
136136 x-bind:class =" { 'show': open }"
137137 @class ([
138- ' dropdown-menu dropdown-menu-right w-100 mt-0 mt-md-3' => $isBootstrap4 ,
139- ' dropdown-menu dropdown-menu-end w-100 ' => $isBootstrap5 ,
138+ ' dropdown-menu dropdown-menu-right w-auto mt-0 mt-md-3' => $isBootstrap4 ,
139+ ' dropdown-menu dropdown-menu-end w-auto ' => $isBootstrap5 ,
140140 ] )
141141 aria-labelledby =" columnSelect-{{ $tableName } }"
142142 >
You can’t perform that action at this time.
0 commit comments