From 039ffda656079dfc291a4690656d5df2f5c2eb11 Mon Sep 17 00:00:00 2001 From: effe Date: Tue, 10 Sep 2024 10:49:44 -0400 Subject: [PATCH] fix: padding --- .../application/munera/views/dashboard/DashboardView.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/application/munera/views/dashboard/DashboardView.java b/src/main/java/com/application/munera/views/dashboard/DashboardView.java index a510c18..cf187d2 100644 --- a/src/main/java/com/application/munera/views/dashboard/DashboardView.java +++ b/src/main/java/com/application/munera/views/dashboard/DashboardView.java @@ -36,13 +36,13 @@ public class DashboardView extends Div { VerticalLayout mainLayout = new VerticalLayout(); mainLayout.setSizeFull(); - mainLayout.getStyle().set("padding", "10px"); // Add padding to main layout + mainLayout.getStyle().set("padding", "5px"); // Add padding to main layout // Create a horizontal layout for the top row HorizontalLayout topRowLayout = new HorizontalLayout(); topRowLayout.setSizeFull(); topRowLayout.setHeight("50%"); // Make sure the top row occupies half of the page height - topRowLayout.getStyle().set("padding", "10px"); // Add padding to top row + topRowLayout.getStyle().set("padding", "5px"); // Add padding to top row // Create and add the existing bar chart to the top left Div barChartDiv = new Div(); @@ -68,7 +68,7 @@ public class DashboardView extends Div { HorizontalLayout bottomRowLayout = new HorizontalLayout(); bottomRowLayout.setSizeFull(); bottomRowLayout.setHeight("50%"); // Make sure the bottom row occupies the other half of the page height - bottomRowLayout.getStyle().set("padding", "10px"); // Add padding to bottom row + bottomRowLayout.getStyle().set("padding", "5px"); // Add padding to bottom row // Create the bottom left chart Div bottomLeftChartDiv = new Div();