feat(layout): allow to minimize chat (#35)

This commit is contained in:
Dominic Elm
2024-08-14 11:08:52 +02:00
committed by GitHub
parent 8fd9d4477e
commit d5a29c2427
18 changed files with 262 additions and 114 deletions

View File

@@ -161,8 +161,8 @@
--bolt-elements-terminals-background: var(--bolt-elements-bg-depth-1);
--bolt-elements-terminals-buttonBackground: var(--bolt-elements-bg-depth-3);
--bolt-elements-cta-background: theme('colors.gray.100');
--bolt-elements-cta-text: theme('colors.gray.950');
--bolt-elements-cta-background: theme('colors.alpha.white.10');
--bolt-elements-cta-text: theme('colors.white');
/* Terminal Colors */
--bolt-terminal-background: var(--bolt-elements-terminals-background);
@@ -193,6 +193,11 @@
*/
:root {
--header-height: 54px;
--chat-max-width: 37rem;
--chat-min-width: 640px;
--workbench-width: min(calc(100% - var(--chat-min-width)), 1536px);
--workbench-inner-width: var(--workbench-width);
--workbench-left: calc(100% - var(--workbench-width));
/* Toasts */
--toastify-color-progress-success: var(--bolt-elements-icon-success);

View File

@@ -8,6 +8,14 @@ $zIndexMax: 999;
z-index: $zIndexMax - 2;
}
.z-prompt {
z-index: 2;
}
.z-workbench {
z-index: 3;
}
.z-max {
z-index: $zIndexMax;
}