Merge pull request #859 from jakeefr/fix/editor-toolbar-offscreen-796

fix: keep editor toolbar in view on long unwrapped lines
This commit is contained in:
Simos Mikelatos
2026-06-09 18:10:37 +02:00
committed by GitHub

View File

@@ -102,7 +102,7 @@ export default function EditorSidebar({
const useFlexLayout = editorExpanded || (fillSpace && !hasManualWidth);
return (
<div ref={containerRef} className={`flex h-full min-w-0 flex-shrink-0 ${editorExpanded ? 'flex-1' : ''}`}>
<div ref={containerRef} className={`flex h-full min-w-0 ${editorExpanded ? 'flex-1' : ''}`}>
{!editorExpanded && (
<div
ref={resizeHandleRef}