File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed
Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change 11import { useState } from 'react'
22import type { ChatTheme } from '../types/theme-system'
33import { BORDER_CHARS } from '../utils/ui-constants'
4- import { useTerminalDimensions } from '../hooks/use-terminal-dimensions'
54export const BuildModeButtons = ( {
65 theme,
76 onBuildFast,
@@ -14,25 +13,19 @@ export const BuildModeButtons = ({
1413 const [ hoveredButton , setHoveredButton ] = useState < 'fast' | 'max' | null > (
1514 null ,
1615 )
17- const { terminalWidth } = useTerminalDimensions ( )
18- const isNarrow = terminalWidth < 55
1916 return (
2017 < box
2118 style = { {
22- flexDirection : 'row ' ,
23- gap : 1 ,
19+ flexDirection : 'column ' ,
20+ gap : 0 ,
2421 paddingTop : 0 ,
2522 paddingBottom : 0 ,
2623 paddingLeft : 1 ,
27- alignItems : 'center' ,
28- justifyContent : 'space-between' ,
2924 } }
3025 >
31- { isNarrow ? null : (
32- < text style = { { wrapMode : 'none' } } >
33- < span fg = { theme . secondary } > Ready to build?</ span >
34- </ text >
35- ) }
26+ < text style = { { wrapMode : 'none' } } >
27+ < span fg = { theme . secondary } > Choose an option to build this plan:</ span >
28+ </ text >
3629 < box
3730 style = { {
3831 flexDirection : 'row' ,
You can’t perform that action at this time.
0 commit comments