From 17a36b2283e9823c2fa842243aa9e6c860c9e824 Mon Sep 17 00:00:00 2001 From: seb Date: Wed, 24 Jun 2026 05:18:01 +0200 Subject: [PATCH] layout --- index.html | 8 +++++++- src/components/PageLayout.jsx | 3 ++- src/index.css | 6 ++++++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index b1ead03..30d9c48 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - + Dashfront diff --git a/src/components/PageLayout.jsx b/src/components/PageLayout.jsx index 73a5d86..c1401a7 100644 --- a/src/components/PageLayout.jsx +++ b/src/components/PageLayout.jsx @@ -38,10 +38,11 @@ export default function PageLayout({ title, subNav, basePath, children }) { sx={(theme) => ({ width: 80, height: 80, + borderRadius: '50%', color: theme.palette.text.secondary, bgcolor: 'transparent', '&:hover': { - bgcolor: 'transparent', + bgcolor: theme.palette.action.hover, color: theme.palette.primary.main, }, '&.active': { diff --git a/src/index.css b/src/index.css index 30434fc..5859d65 100644 --- a/src/index.css +++ b/src/index.css @@ -4,3 +4,9 @@ body, min-height: 100%; background-color: #dceeea; } + +html, +body { + overscroll-behavior-y: none; + touch-action: manipulation; +}