History

Restore minimum width and horizontal scroll for split terminal panes

Cursor Agent committed 9 months ago

Commit cfabf9b1 parent dcc6d9d1 file · +2 −2Browse files

Unified · Split

apps/web/src/components/ThreadTerminalDrawer.tsx+2−2
@@ -755,9 +755,9 @@ export default function ThreadTerminalDrawer({ · 754 unmodified lines
755 <div className="min-w-0 flex-1">755 <div className="min-w-0 flex-1">
756 {isSplitView ? (756 {isSplitView ? (
757 <div757 <div
758 className="grid h-full w-full min-w-0 gap-0 overflow-hidden"758 className="grid h-full w-full min-w-0 gap-0 overflow-x-auto"
759 style={{759 style={{
760 gridTemplateColumns: `repeat(${visibleTerminalIds.length}, minmax(0, 1fr))`,760 gridTemplateColumns: `repeat(${visibleTerminalIds.length}, minmax(260px, 1fr))`,
761 }}761 }}
762 >762 >
763 {visibleTerminalIds.map((terminalId) => (763 {visibleTerminalIds.map((terminalId) => (

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t