Skip to content
Source
Sign inSign up
pingdotgg/t3code

Revert "fix(web): terminal controls no longer cover the first line" #30493

Mergedjuliusmarmingemerged 1 commit intomain fromrefs/pull/30493/headmerged by juliusmarminge View on GitHub

Showing 8 changed files with 88 additions and 108 deletions (loading 6).

x
0 of 8 viewed, 8 left
88 additions and 56 deletionsapps/web/src/components/ThreadTerminalDrawer.tsxModified
View file
@@ -1777,53 +1777,6 @@
- // The single-terminal row and the split sidebar header share these controls,
- // so neither layout floats them over terminal text.
- const terminalActions = (
- <div className="inline-flex h-full items-stretch">
- <TerminalActionButton
- disabled={!canOperateTerminal}
- className={`inline-flex h-full items-center px-1 text-foreground/90 transition-colors ${
- hasReachedSplitLimit
- ? "cursor-not-allowed opacity-64 hover:bg-transparent"
- : "hover:bg-accent/70"
- }`}
- onClick={onSplitTerminalAction}
- label={splitTerminalActionLabel}
- >
- <SquareSplitHorizontal className="size-3.25" />
- </TerminalActionButton>
- <TerminalActionButton
- disabled={!canOperateTerminal}
- className={`inline-flex h-full items-center border-l border-border/70 px-1 text-foreground/90 transition-colors ${
- hasReachedSplitLimit
- ? "cursor-not-allowed opacity-64 hover:bg-transparent"
- : "hover:bg-accent/70"
- }`}
- onClick={onSplitTerminalVerticalAction}
- label={splitTerminalVerticalActionLabel}
- >