diff --git a/client/src/components/Screen.tsx b/client/src/components/Screen.tsx index 3303042..254a384 100644 --- a/client/src/components/Screen.tsx +++ b/client/src/components/Screen.tsx @@ -45,11 +45,10 @@ function Screen({ return ( - - {/* Only what this screen actually offers — a fixed set of icons on - every page turns the navbar into decoration. */} - {right} - + {/* Rendered only when the screen actually has an action: an empty + NavRight still paints a container, which showed up as a stray + grey box beside the title. */} + {right && {right}}
{children}
diff --git a/client/src/components/charts/Chart.css b/client/src/components/charts/Chart.css index 8c7a59d..6924413 100644 --- a/client/src/components/charts/Chart.css +++ b/client/src/components/charts/Chart.css @@ -217,6 +217,11 @@ flex: 1; } +/* Framework7 styles bare