From 87cce8b58acae97f5882fd634bd5d9e5fac0397e Mon Sep 17 00:00:00 2001 From: sanex3339 Date: Mon, 2 Feb 2026 15:09:05 +0400 Subject: [PATCH] Update styles and remove redundant env var --- .env.example | 1 - server.js | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.env.example b/.env.example index 17ea9f7..f8a3393 100644 --- a/.env.example +++ b/.env.example @@ -5,5 +5,4 @@ MB_EMBEDDING_SECRET_KEY="" MB_ADMIN_EMAIL="rene@example.com" MB_ADMIN_FIRST_NAME="Rene" MB_ADMIN_LAST_NAME="Descartes" -MB_ADMIN_PASSWORD="foobarbaz" MB_DASHBOARD_ID_TO_EMBED=1 diff --git a/server.js b/server.js index f55a52a..baf4c10 100644 --- a/server.js +++ b/server.js @@ -34,8 +34,9 @@ const getPageLayout = (config, component, currentPath) => { html, body { height: 100%; margin: 0; overflow: hidden; } body { display: flex; flex-direction: column; } nav { padding: 1rem; background: #f0f0f0; } - nav a { margin-right: 1rem; } - nav a.active { font-weight: bold; } + nav a { margin-right: 1rem; text-decoration: none; color: #555; padding: 0.25rem 0.5rem; border-radius: 4px; } + nav a:hover { background: #e0e0e0; } + nav a.active { font-weight: bold; background: #509EE3; color: white; } main { flex: 1; } metabase-dashboard { width: 100%; height: 100%; }