Skip to content

Commit

Permalink
fix(graph): increase dropdown indicator padding
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKless committed Jul 17, 2023
1 parent 187842e commit a352964
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

0 comments on commit a352964

Please sign in to comment.