Skip to content

Commit 6a0c8da

Browse files
authored
Merge pull request #75 from DarkGenius/fix/ui-layout
fix(ui): improve layout
2 parents 83f0f25 + f79aa74 commit 6a0c8da

3 files changed

Lines changed: 4 additions & 6 deletions

File tree

frontend/src/App.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
<input id="sidebar-drawer" type="checkbox" class="drawer-toggle" />
44

55
<!-- Main content area -->
6-
<div class="drawer-content flex flex-col min-h-screen bg-base-200">
6+
<div class="drawer-content grid grid-rows-[auto_1fr] h-screen bg-base-200 lg:pl-64">
77
<!-- Top Header -->
88
<TopHeader />
99

1010
<!-- Page content -->
11-
<main class="flex-1 p-6 overflow-x-hidden max-w-full">
11+
<main class="overflow-y-auto p-6">
1212
<router-view v-slot="{ Component }">
1313
<transition name="page" mode="out-in">
1414
<component :is="Component" />

frontend/src/components/CollapsibleHintsPanel.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,6 @@ const copyToClipboard = async (text: string) => {
145145
<style scoped>
146146
.hints-panel-wrapper {
147147
margin-top: 2rem;
148-
position: sticky;
149-
bottom: 1rem;
150148
z-index: 10;
151149
}
152150

frontend/src/components/SidebarNav.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<template>
22
<div class="drawer-side z-40">
33
<label for="sidebar-drawer" aria-label="close sidebar" class="drawer-overlay"></label>
4-
<aside class="bg-base-100 w-64 min-h-screen flex flex-col border-r border-base-300">
4+
<aside class="bg-base-100 w-64 h-screen flex flex-col border-r border-base-300 fixed">
55
<!-- Logo Section -->
6-
<div class="p-6 border-b border-base-300">
6+
<div class="px-6 py-5 border-b border-base-300">
77
<router-link to="/" class="flex items-center space-x-3">
88
<img src="/src/assets/logo.svg" alt="MCPProxy Logo" class="w-10 h-10" />
99
<span class="text-xl font-bold">MCPProxy</span>

0 commit comments

Comments
 (0)