From 16fba702fbcb642210c9407817db7039b9ef80d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciar=C3=A1n=20Hanrahan?= Date: Wed, 10 Nov 2021 23:18:39 +0000 Subject: [PATCH] typography fixes (#1163) --- components/Shell.tsx | 2 +- components/ui/Button.tsx | 3 ++- components/ui/form/Schedule.tsx | 6 +++--- pages/availability/index.tsx | 6 ++++-- public/static/locales/en/common.json | 4 ++-- 5 files changed, 12 insertions(+), 9 deletions(-) diff --git a/components/Shell.tsx b/components/Shell.tsx index 2194679e0f..fa6f558e9a 100644 --- a/components/Shell.tsx +++ b/components/Shell.tsx @@ -255,7 +255,7 @@ export default function Shell(props: {
-
+

{props.heading}

diff --git a/components/ui/Button.tsx b/components/ui/Button.tsx index 8c0851413e..2138ca0644 100644 --- a/components/ui/Button.tsx +++ b/components/ui/Button.tsx @@ -54,7 +54,8 @@ export const Button = forwardRef { onChange={(e) => (e.target.checked ? replace([defaultDayRange]) : replace([]))} className="inline-block border-gray-300 rounded-sm focus:ring-neutral-500 text-neutral-900" /> - {weekday} + {weekday}
{fields.map((field, index) => ( -
+
@@ -157,7 +157,7 @@ const ScheduleBlock = ({ name, day, weekday }: ScheduleBlockProps) => { />
))} - {!fields.length && t("no_availability")} + {!fields.length && t("no_availability")}