Skip to content

Commit

Permalink
Remove extraneous class and prevent wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
apata committed Jan 28, 2025
1 parent 85878b7 commit b5d7d22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/js/dashboard/filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ function Filters() {
{({ open }) => (
<>
<div>
<Menu.Button onClick={trackFilterMenu} className="flex items-center text-xs md:text-sm font-medium leading-tight px-3 py-2 cursor-pointer ml-auto text-gray-500 dark:text-gray-200 hover:bg-gray-200 dark:hover:bg-gray-900 rounded whitespace-nowrap w-fit">
<Menu.Button onClick={trackFilterMenu} className="flex items-center text-xs md:text-sm font-medium leading-tight px-3 py-2 cursor-pointer ml-auto text-gray-500 dark:text-gray-200 hover:bg-gray-200 dark:hover:bg-gray-900 rounded whitespace-nowrap">
{renderDropdownButton()}
</Menu.Button>
</div>
Expand Down
2 changes: 1 addition & 1 deletion assets/js/dashboard/nav-menu/filters-bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ const ClearAction = () => (
<AppNavigationLink
title="Clear all filters"
className={classNames(
'self-start button h-9 !px-3 !py-2 flex !bg-red-500 dark:!bg-red-500 hover:!bg-red-600 dark:hover:!bg-red-700'
'self-start button h-9 !px-3 !py-2 flex !bg-red-500 dark:!bg-red-500 hover:!bg-red-600 dark:hover:!bg-red-700 whitespace-nowrap'
)}
search={(search) => ({
...search,
Expand Down

0 comments on commit b5d7d22

Please sign in to comment.