From e735af4fc14324b6d9c5cb96a5f68958b95127b0 Mon Sep 17 00:00:00 2001 From: Martin Berka Date: Thu, 25 Jan 2024 19:18:05 +0100 Subject: [PATCH] =?UTF-8?q?Neuskakov=C3=A1n=C3=AD=20=C5=A1ipek?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/App.css | 2 +- client/src/App.tsx | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/client/src/App.css b/client/src/App.css index 1b698f5..4b7481f 100644 --- a/client/src/App.css +++ b/client/src/App.css @@ -56,7 +56,7 @@ } .title { - margin: 50px 30px; + margin: 50px 20px; } .food-tables { diff --git a/client/src/App.tsx b/client/src/App.tsx index 5bb5acc..1758835 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -362,13 +362,14 @@ function App() { {dayIndex != null &&
- {dayIndex > 0 && handleDayChange(dayIndex - 1)} />} + 0 ? "initial" : "hidden" }} onClick={() => handleDayChange(dayIndex - 1)} />

{data.date}

- {dayIndex < 4 && handleDayChange(dayIndex + 1)} />} + handleDayChange(dayIndex + 1)} />
}