Skip to content

ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.

Fill the database studio and show engine names

Juan Denis57142268b050
diff --git a/frontend/src/components/databases/SourceTree.jsx b/frontend/src/components/databases/SourceTree.jsx
index 37e102cc..dce4767a 100644
--- a/frontend/src/components/databases/SourceTree.jsx
+++ b/frontend/src/components/databases/SourceTree.jsx
@@ -114,7 +114,10 @@ function TreeRow({ node, depth, expanded, childrenCache, loading, activeKey, sel
</span>
)}
- {node.kind === 'engine' && node.status && node.status !== 'available' && (
+ {/* The Install button already says "not installed"; repeating it
+ as a status squeezed the engine name to "MyS…". */}
+ {node.kind === 'engine' && node.status && node.status !== 'available'
+ && !(node.status === 'missing' && canInstall) && (
<span className={`dbx-tree-status is-${node.status}`} title={STATUS_LABEL[node.status]}>
{node.status === 'installing'
? <Loader2 size={11} className="dbx-spin" aria-hidden="true" />
diff --git a/frontend/src/styles/pages/_databases.scss b/frontend/src/styles/pages/_databases.scss
index f990309c..9786bdb6 100644
--- a/frontend/src/styles/pages/_databases.scss
+++ b/frontend/src/styles/pages/_databases.scss
@@ -25,6 +25,14 @@ $dbx-sqlite: #3d8fd1;
box-sizing: border-box;
overflow: hidden;
+ // On PageLayout the console renders inside the shell's fill region, which
+ // is a plain block: make it the flex column `.dbx-body { flex: 1 }` needs,
+ // or the body collapses to its content and the status bar floats up.
+ .sk-pageshell__fill {
+ display: flex;
+ flex-direction: column;
+ }
+
// ─── shared controls ─────────────────────────────────
.dbx-icon-btn {
display: inline-flex;