From 107ca516a6cd83c0a902ea49a8488a8be26db434 Mon Sep 17 00:00:00 2001 From: zombiej Date: Thu, 28 Nov 2019 20:30:57 +0800 Subject: [PATCH] chore: Add additional dom for panel body --- src/panels/DatePanel/DateBody.tsx | 14 ++++++++------ src/panels/DecadePanel/DecadeBody.tsx | 8 +++++--- src/panels/MonthPanel/MonthBody.tsx | 8 +++++--- src/panels/YearPanel/YearBody.tsx | 8 +++++--- 4 files changed, 23 insertions(+), 15 deletions(-) diff --git a/src/panels/DatePanel/DateBody.tsx b/src/panels/DatePanel/DateBody.tsx index 05e81e387..0f441a22e 100644 --- a/src/panels/DatePanel/DateBody.tsx +++ b/src/panels/DatePanel/DateBody.tsx @@ -143,12 +143,14 @@ function DateBody({ } return ( - - - {headerCells} - - {rows} -
+
+ + + {headerCells} + + {rows} +
+
); } diff --git a/src/panels/DecadePanel/DecadeBody.tsx b/src/panels/DecadePanel/DecadeBody.tsx index 5b8897469..f4a853873 100644 --- a/src/panels/DecadePanel/DecadeBody.tsx +++ b/src/panels/DecadePanel/DecadeBody.tsx @@ -79,9 +79,11 @@ function DecadeBody({ } return ( - - {rows} -
+
+ + {rows} +
+
); } diff --git a/src/panels/MonthPanel/MonthBody.tsx b/src/panels/MonthPanel/MonthBody.tsx index 8c8c95caa..e46ed802a 100644 --- a/src/panels/MonthPanel/MonthBody.tsx +++ b/src/panels/MonthPanel/MonthBody.tsx @@ -92,9 +92,11 @@ function MonthBody({ } return ( - - {rows} -
+
+ + {rows} +
+
); } diff --git a/src/panels/YearPanel/YearBody.tsx b/src/panels/YearPanel/YearBody.tsx index d83ea5cce..5db656469 100644 --- a/src/panels/YearPanel/YearBody.tsx +++ b/src/panels/YearPanel/YearBody.tsx @@ -68,9 +68,11 @@ function YearBody({ } return ( - - {rows} -
+
+ + {rows} +
+
); }