From 860078f1494967a0e723f2d2762ff3ed9a30938c Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Sat, 3 Jan 2026 15:30:03 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A4=D1=82=D1=83=D0=B5=D1=80=20=D0=B3=D0=BE?= =?UTF-8?q?=D1=82=D0=BE=D0=B2.=20=D0=9F=D1=80=D0=B8=D0=BB=D0=BE=D0=B6?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=B2=20=D1=80=D0=B0=D0=B1=D0=BE?= =?UTF-8?q?=D1=82=D0=BE=D1=81=D0=BF=D0=BE=D1=81=D0=BE=D0=B1=D0=BD=D0=BE?= =?UTF-8?q?=D0=BC=20=D1=81=D0=BE=D1=81=D1=82=D0=BE=D1=8F=D0=BD=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/layouts/default.vue | 40 ++++++++++++++++++++++++++++------------ 1 file changed, 28 insertions(+), 12 deletions(-) diff --git a/app/layouts/default.vue b/app/layouts/default.vue index c38e2ec..b4d3765 100644 --- a/app/layouts/default.vue +++ b/app/layouts/default.vue @@ -15,11 +15,14 @@ - + @@ -31,7 +34,7 @@ const { user } = useAuth(); .default-layout { display: flex; flex-direction: column; - height: 100vh; + min-height: 100vh; /* Use min-height to allow content to push height */ background-color: #eef5ff; color: #333; } @@ -53,17 +56,28 @@ const { user } = useAuth(); .app-content { flex-grow: 1; - overflow-y: auto; + overflow-y: auto; /* Allow content to scroll */ padding: 15px; + /* Add padding-bottom to prevent content from being overlapped by fixed footer */ + padding-bottom: 60px; /* Adjust based on footer height */ +} + +.app-footer { + flex-shrink: 0; + position: fixed; /* Changed to fixed as per request */ + bottom: 0; + width: 100%; + background-color: #ffffff; + border-top: 1px solid #dcdcdc; + padding: 10px 0; + box-sizing: border-box; /* Include padding in width */ + z-index: 1000; /* Ensure footer is on top */ } .bottom-nav { display: flex; justify-content: space-around; - padding: 10px 0; - background-color: #ffffff; - border-top: 1px solid #dcdcdc; - flex-shrink: 0; + width: 100%; } .nav-item { @@ -71,10 +85,12 @@ const { user } = useAuth(); color: #4a90e2; padding: 5px 10px; border-radius: 5px; + text-align: center; + flex: 1; /* Distribute space evenly */ } .nav-item.router-link-exact-active { background-color: #eef5ff; font-weight: bold; } - + \ No newline at end of file