@@ -110,6 +52,7 @@
{#if filteredScreens?.length}
{#each filteredScreens as screen (screen._id)}
screensHeight.set("210px")}
+ class:disabled={searching}
+ use:resizableHandle
/>
@@ -148,14 +93,12 @@
min-height: 147px;
max-height: calc(100% - 147px);
position: relative;
- transition: height 300ms ease-out;
+ transition: height 300ms ease-out, max-height 300ms ease-out;
+ height: 210px;
}
- .screens.search {
- max-height: none;
- }
- .screens.resizing {
- user-select: none;
- cursor: row-resize;
+ .screens.searching {
+ max-height: 100%;
+ height: 100% !important;
}
.header {
@@ -177,9 +120,6 @@
overflow: auto;
flex-grow: 1;
}
- .screens.resizing .content {
- pointer-events: none;
- }
.screens :global(.nav-item) {
padding-right: 8px !important;
@@ -217,4 +157,10 @@
.divider:hover:after {
background: var(--spectrum-global-color-gray-300);
}
+ .divider.disabled {
+ cursor: auto;
+ }
+ .divider.disabled:after {
+ background: var(--spectrum-global-color-gray-200);
+ }
diff --git a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_layout.svelte b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_layout.svelte
index 0e630b4f39..ab29f2ea0d 100644
--- a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_layout.svelte
+++ b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_layout.svelte
@@ -40,6 +40,7 @@
}
.content {
+ width: 100vw;
display: flex;
flex-direction: row;
justify-content: flex-start;