fix: stabilize terminal layout resizing

This commit is contained in:
Bohdan Triapitsyn
2026-05-22 01:53:32 +03:00
parent 2d85cc86be
commit a22433ed71
2 changed files with 3 additions and 27 deletions
@@ -121,10 +121,10 @@ export const BottomTerminalDock: React.FC<BottomTerminalDockProps> = ({ isOpen,
'flex overflow-hidden border-t border-border bg-sidebar',
shouldApplyFullscreenLayout ? 'absolute inset-x-0 bottom-0 z-40' : 'relative',
isResizing ? 'transition-none' : 'transition-[height] duration-300 ease-in-out',
!isOpen && 'border-t-0'
(!isOpen || shouldApplyFullscreenLayout) && 'border-t-0'
)}
style={shouldApplyFullscreenLayout ? {
top: 'var(--oc-header-height, 48px)',
top: 0,
} : {
height: `${appliedHeight}px`,
minHeight: `${appliedHeight}px`,