@@ -267,12 +278,12 @@ export const Toolbar = ({
setDbDropdownOpen(false);
}}
title={connectionDetails?.description || 'No connection selected'}
- className={`flex items-center gap-1.5 px-2 py-1 h-full rounded hover:bg-surface transition-colors ${connDropdownOpen ? 'bg-surface' : ''}`}
+ className={`flex min-w-0 items-center gap-1.5 px-2 py-1 h-full rounded hover:bg-surface transition-colors ${connDropdownOpen ? 'bg-surface' : ''}`}
>
+
{connection?.name || 'No Connection'}
@@ -327,7 +338,7 @@ export const Toolbar = ({
setDbDropdownOpen(!dbDropdownOpen);
setConnDropdownOpen(false);
}}
- className={`flex items-center gap-1 px-2 py-1 h-full rounded hover:bg-surface transition-colors text-text-secondary ${dbDropdownOpen ? 'bg-surface' : ''}`}
+ className={`flex min-w-0 items-center gap-1 px-2 py-1 h-full rounded hover:bg-surface transition-colors text-text-secondary ${dbDropdownOpen ? 'bg-surface' : ''}`}
>
{activeDatabase}
@@ -383,9 +394,9 @@ export const Toolbar = ({
{activeTable && (
<>
-
+
- {activeTable}
+ {activeTable}
>
)}
@@ -393,37 +404,44 @@ export const Toolbar = ({
{/* Right side: Panel Toggles */}
-
+
diff --git a/src/index.css b/src/index.css
index 74e02e0..0c2a65b 100644
--- a/src/index.css
+++ b/src/index.css
@@ -116,6 +116,48 @@ body {
box-shadow: inset 0 0 0 2px var(--color-accent);
}
+.workspace-grid-header {
+ background-color: color-mix(in srgb, var(--color-surface) 95%, var(--color-accent) 5%);
+ border-bottom: 1px solid var(--color-border-strong);
+ box-shadow: 0 2px 4px color-mix(in srgb, var(--color-background) 70%, transparent);
+}
+
+.workspace-toolbar {
+ container-type: inline-size;
+}
+
+@container (max-width: 950px) {
+ .workspace-toolbar .toolbar-action-label {
+ display: none;
+ }
+}
+
+.workspace-column-resizer {
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ z-index: 1;
+ width: 10px;
+ transform: translateX(50%);
+ cursor: col-resize;
+}
+
+.workspace-column-resizer::after {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 4px;
+ width: 2px;
+ background-color: transparent;
+ content: '';
+}
+
+.workspace-column-resizer:hover::after,
+.workspace-column-resizer:active::after {
+ background-color: var(--color-accent);
+}
+
.sql-tab-reordering {
transition: transform 150ms cubic-bezier(0.2, 0.8, 0.2, 1);
will-change: transform;