Skip to content

Commit 18de304

Browse files
committed
Follow-up styling tweaks
1 parent dfe2509 commit 18de304

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/EngineStream.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ export const EngineStream = (props: {
620620
isRetrying={timeoutId !== undefined && !firstRun}
621621
retryAttemptCountdown={attemptTimes[1]}
622622
dataTestId="loading-engine"
623-
className="fixed inset-0 h-screen"
623+
className="absolute inset-0 h-screen"
624624
>
625625
Connecting and setting up scene...
626626
</Loading>

src/components/ModelingSidebar/ModelingSidebar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,11 +220,10 @@ export function ModelingSidebar() {
220220
<Resizable
221221
className={`group z-10 flex flex-col ${pointerEventsCssClass} ${context.store?.openPanes.length ? undefined : '!w-auto'}`}
222222
defaultSize={{
223-
width: context.store?.openPanes.length ? '550px' : undefined,
223+
width: '550px',
224224
height: 'auto',
225225
}}
226226
minWidth={context.store?.openPanes.length ? 200 : undefined}
227-
maxWidth={window.innerWidth - 10}
228227
handleWrapperClass="sidebar-resize-handles"
229228
enable={{
230229
right: true,
@@ -443,6 +442,7 @@ function ResizeHandle(props: HTMLProps<HTMLDivElement>) {
443442
{...props}
444443
className={'group/grip absolute inset-0 ' + props.className}
445444
>
445+
<div className="hidden group-hover/grip:block absolute bg-chalkboard-30 dark:bg-chalkboard-70 w-[1px] h-auto left-1/2 top-0 bottom-0" />
446446
<div
447447
className={
448448
'hidden group-hover/grip:block py-1 absolute top-1/2 -translate-y-1/2 left-1/2 -translate-x-1/2 rounded-sm w-fit group-hover/grip:bg-chalkboard-30 group-hover/grip:dark:bg-chalkboard-70 bg-transparent transition-colors border border-transparent group-hover/grip:border-chalkboard-40 dark:group-hover/grip:border-chalkboard-90 duration-75 transition-ease-out delay-100'

0 commit comments

Comments
 (0)