minor improvements to routing forms (#3380)

* minor improvements to routing forms

* UX improvements and text changes

Co-authored-by: Hariom Balhara <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2022-07-15 11:46:05 +00:00
1 parent fd16d734fb
commit 18389f459d
15 files changed
+86 -53

No files matched your search

+4 -1
View File
@@ -6,10 +6,12 @@ export default function EmptyScreen({
Icon,
headline,
description,
button,
}: {
Icon: SVGComponent;
headline: string;
description: string | React.ReactElement;
button?: React.ReactElement;
}) {
return (
<>
@@ -21,7 +23,8 @@ export default function EmptyScreen({
</div>
<div className="max-w-[420px] text-center">
<h2 className="mt-6 mb-1 text-lg font-medium dark:text-gray-300">{headline}</h2>
<p className="text-sm leading-6 text-gray-600 dark:text-gray-300">{description}</p>
<p className="mb-2 text-sm leading-6 text-gray-600 dark:text-gray-300">{description}</p>
{button}
</div>
</div>
</>
+1 -1
View File
@@ -54,7 +54,7 @@ function Select<
IndicatorSeparator: () => null,
Input: InputComponent,
}}
className={classNames("text-sm shadow-sm", className)}
className={className}
{...props}
/>
);