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
94
94
{{
95
95
$attributes -> merge ($this -> getBulkActionsMenuAttributes )
96
96
-> 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 ),
99
99
])
100
100
-> except ([' default' ,' default-styling' ,' default-colors' ])
101
101
} }
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
122
122
{{
123
123
$attributes -> merge ($this -> getColumnSelectButtonAttributes ())
124
124
-> 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' ],
126
126
])
127
127
-> except ([' default-styling' , ' default-colors' ])
128
128
} }
@@ -135,8 +135,8 @@ class="inline-flex items-center px-2 py-1 disabled:opacity-50 disabled:cursor-wa
135
135
<div
136
136
x-bind:class =" { 'show': open }"
137
137
@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 ,
140
140
] )
141
141
aria-labelledby =" columnSelect-{{ $tableName } }"
142
142
>
You can’t perform that action at this time.
0 commit comments