From f2d93575ae2ac7ac649dc142db06f97dc42ee7dd Mon Sep 17 00:00:00 2001 From: Tim Ittermann Date: Fri, 23 Dec 2022 14:23:37 +0100 Subject: [PATCH 1/2] Improve design --- src/components/index/Calendar.tsx | 4 ++-- src/components/index/MealEntry.tsx | 7 +++---- src/pages/index.tsx | 4 ++++ 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/src/components/index/Calendar.tsx b/src/components/index/Calendar.tsx index f95d60b..3b0a6da 100644 --- a/src/components/index/Calendar.tsx +++ b/src/components/index/Calendar.tsx @@ -15,7 +15,7 @@ export const Calendar: React.FC = () => { > -
+
{selectedMonth.setLocale("DE-de").monthLong} {selectedMonth.year}
-
+
{flatDates.map((d) => ( ))} diff --git a/src/components/index/MealEntry.tsx b/src/components/index/MealEntry.tsx index 5406e6c..b200eeb 100644 --- a/src/components/index/MealEntry.tsx +++ b/src/components/index/MealEntry.tsx @@ -66,12 +66,11 @@ export const MealEntry: React.FC = ({
= ({ })} >
-
+
{date.setLocale("de-DE").weekdayShort} {date.day}
@@ -97,7 +96,7 @@ export const MealEntry: React.FC = ({ onFocus={() => setHasFocus(true)} onBlur={onBlur} className={classNames({ - "w-full flex-grow resize-none break-words bg-transparent text-start text-white focus:border-none focus:outline-none": + "w-full flex-grow resize-none overflow-hidden break-words bg-transparent text-start text-xs text-white focus:border-none focus:outline-none lg:text-base": true, ...texts, })} diff --git a/src/pages/index.tsx b/src/pages/index.tsx index af6fd32..24d68ac 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -13,6 +13,10 @@ const Home: NextPage = () => { Create T3 App +
From ab2f785ed88d02da0655f353d098da6b05e23bca Mon Sep 17 00:00:00 2001 From: Tim Ittermann Date: Mon, 26 Dec 2022 18:05:07 +0100 Subject: [PATCH 2/2] Drop yarnrc --- .yarnrc.yml | 1 - 1 file changed, 1 deletion(-) delete mode 100644 .yarnrc.yml diff --git a/.yarnrc.yml b/.yarnrc.yml deleted file mode 100644 index 82069dd..0000000 --- a/.yarnrc.yml +++ /dev/null @@ -1 +0,0 @@ -yarnPath: .yarn/releases/yarn-1.22.19.cjs