UI updates to event types (#894)

This commit is contained in:
Ciarán Hanrahan authored and GitHub committed 2021-10-10 10:46:20 +01:00
1 parent b794469c05
commit e83980a999
8 files changed
+67 -65

No files matched your search

+4 -2
View File
@@ -201,8 +201,10 @@ export default function Shell(props: {
</nav>
<div className="py-8">
<div className="block sm:flex justify-between px-4 sm:px-6 md:px-8 min-h-[80px]">
<div className="mb-8">
<h1 className="font-cal text-xl font-bold text-gray-900">{props.heading}</h1>
<div className="mb-8 w-full">
<h1 className="font-cal text-xl font-bold text-gray-900 tracking-wide mb-1">
{props.heading}
</h1>
<p className="text-sm text-neutral-500 mr-4">{props.subtitle}</p>
</div>
<div className="mb-4 flex-shrink-0">{props.CTA}</div>
+1 -1
View File
@@ -32,7 +32,7 @@ export default function Switch(props) {
/>
</PrimitiveSwitch.Root>
{label && (
<Label.Root className="text-neutral-700 align-text-top ml-3 font-medium cursor-pointer">
<Label.Root className="text-neutral-700 text-sm align-text-top ml-3 font-medium cursor-pointer">
{label}
</Label.Root>
)}
+1 -1
View File
@@ -8,7 +8,7 @@ type Props = InputHTMLAttributes<HTMLInputElement> & {
const CheckboxField = forwardRef<HTMLInputElement, Props>(({ label, description, ...rest }, ref) => {
return (
<div className="items-center block sm:flex">
<div className="mb-4 min-w-44 sm:mb-0">
<div className="mb-4 min-w-48 sm:mb-0">
<label htmlFor={rest.id} className="flex text-sm font-medium text-neutral-700">
{label}
</label>
+3 -3
View File
@@ -7,13 +7,13 @@ type Props = InputHTMLAttributes<HTMLInputElement> & {
const MinutesField = forwardRef<HTMLInputElement, Props>(({ label, ...rest }, ref) => {
return (
<div className="block sm:flex">
<div className="mb-4 min-w-44 sm:mb-0">
<label htmlFor={rest.id} className="flex mt-2 text-sm font-medium text-neutral-700">
<div className="mb-4 min-w-48 sm:mb-0">
<label htmlFor={rest.id} className="flex text-sm font-medium text-neutral-700">
{label}
</label>
</div>
<div className="w-full">
<div className="relative mt-1 rounded-sm shadow-sm">
<div className="relative rounded-sm shadow-sm">
<input
{...rest}
ref={ref}