Skip to content

Commit

Permalink
fix(graph): increase dropdown indicator padding (#18146)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKless authored Jul 20, 2023
1 parent c3d4bfe commit 8359722
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion graph/client/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,10 @@ module.exports = {
translate: ['group-hover'],
},
},
plugins: [require('@tailwindcss/typography')],
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms')({
strategy: 'class',
}),
],
};
2 changes: 1 addition & 1 deletion graph/ui-components/src/lib/dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export function Dropdown(props: DropdownProps) {
const { className, children, ...rest } = props;
return (
<select
className={`flex items-center rounded-md rounded-md border border-slate-300 bg-white px-4 py-2 text-sm font-medium text-slate-700 shadow-sm hover:bg-slate-50 dark:border-slate-600 dark:bg-slate-800 dark:text-slate-300 hover:dark:bg-slate-700 ${className}`}
className={`form-select flex items-center rounded-md rounded-md border border-slate-300 bg-white pl-4 pr-8 py-2 text-sm font-medium text-slate-700 shadow-sm hover:bg-slate-50 dark:border-slate-600 dark:bg-slate-800 dark:text-slate-300 hover:dark:bg-slate-700 ${className}`}
{...rest}
>
{children}
Expand Down

1 comment on commit 8359722

@vercel
Copy link

@vercel vercel bot commented on 8359722 Jul 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-nrwl.vercel.app
nx.dev
nx-dev-git-master-nrwl.vercel.app
nx-five.vercel.app

Please sign in to comment.