Skip to content

Commit 38bbac3

Browse files
committed
fix: columns in the console were scrolling off the visible page
fixes the scroll issue which was hiding some data
1 parent f1e860f commit 38bbac3

4 files changed

Lines changed: 6 additions & 18 deletions

File tree

src/dev/developer_mode/console/ConfigList.vue

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ const api = useAPI()
2626
*/
2727
const emit = defineEmits(['selected'])
2828
29-
/**
30-
* Compute the height percentage for the list display area
31-
* @returns {string} Height in pixels
32-
*/
33-
const height_pct = computed(() => `${api.store.dev.consoleBarHeight - 90}px`)
34-
3529
/**
3630
* Compute the header text from the configuration path
3731
* @returns {string|null} Header text or null if no data
@@ -99,7 +93,7 @@ function option_selected(option) {
9993
</div>
10094

10195
<!-- Scrollable list content -->
102-
<div class="flex-1 overflow-y-auto overflow-x-hidden" :style="{ height: height_pct }">
96+
<div class="flex-1 overflow-y-auto overflow-x-hidden">
10397
<ul class="space-y-0.5 p-1">
10498
<!-- Empty state message -->
10599
<li

src/dev/developer_mode/console/ConsoleConfigPanel.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ function resetDevState() {
136136

137137
<template>
138138
<!-- Configuration panel with breadcrumb navigation and three-panel layout -->
139-
<div class="h-full m-0 p-0">
139+
<div class="h-full m-0 p-0 flex flex-col">
140140
<!-- Breadcrumb navigation bar -->
141141
<Breadcrumb class="bg-muted border-b border-t border-dev-lines px-3 py-2 font-mono">
142142
<BreadcrumbList>
@@ -157,7 +157,7 @@ function resetDevState() {
157157
</Breadcrumb>
158158

159159
<!-- Main content area with sidebar and three-panel layout -->
160-
<div class="flex flex-row h-[calc(100%-30px)]">
160+
<div class="flex flex-row flex-1 overflow-hidden">
161161
<!-- Left sidebar with documentation link -->
162162
<div class="flex flex-col w-1/6 min-w-[120px] border-r border-l border-dev-lines bg-muted p-2 gap-2">
163163
<div class="text-xs text-left mb-2 font-mono">

src/dev/developer_mode/console/ConsoleDatabaseBrowsePanel.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ function panel_jump(index) {
125125

126126
<template>
127127
<!-- Database browsing panel with breadcrumb navigation and three-panel layout -->
128-
<div class="h-full p-0 m-0">
128+
<div class="h-full p-0 m-0 flex flex-col">
129129
<!-- Breadcrumb navigation bar -->
130130
<Breadcrumb class="bg-muted border-b border-t border-dev-lines px-3 py-2 font-mono">
131131
<BreadcrumbList>
@@ -146,7 +146,7 @@ function panel_jump(index) {
146146
</Breadcrumb>
147147

148148
<!-- Three-panel layout for hierarchical data navigation -->
149-
<div class="flex h-full">
149+
<div class="flex flex-1 overflow-hidden">
150150
<!-- Left panel - 25% width -->
151151
<div class="w-1/4 h-full border-r border-dev-lines p-0 m-0">
152152
<!-- two from end -->

src/dev/developer_mode/console/DatabaseList.vue

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ const api = useAPI()
2626
*/
2727
const emit = defineEmits(['selected'])
2828
29-
/**
30-
* Compute the height percentage for the list display area
31-
* @returns {string} Height in pixels
32-
*/
33-
const height_pct = computed(() => `${api.store.dev.consoleBarHeight - 90}px`)
34-
3529
/**
3630
* Truncate text to a maximum length with ellipsis
3731
* @param {string} text - Text to truncate
@@ -100,7 +94,7 @@ function option_selected(option) {
10094
</div>
10195

10296
<!-- Scrollable list content -->
103-
<div class="flex-1 overflow-y-auto overflow-x-hidden" :style="{ height: height_pct }">
97+
<div class="flex-1 overflow-y-auto overflow-x-hidden">
10498
<ul class="space-y-0.5 p-1">
10599
<!-- Empty state message -->
106100
<li

0 commit comments

Comments
 (0)