File tree Expand file tree Collapse file tree
apps/editor/src/views/prompt/frontend
packages/shared/src/hooks Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -335,7 +335,7 @@ export const Home: React.FC<Props> = (props) => {
335335 < UiScrollable on_scroll = { handle_scroll } top_shadow >
336336 < div className = { styles . content } >
337337 < div className = { styles . inner } >
338- < UiSeparator height = { 4 } />
338+ < UiSeparator height = { 6 } />
339339 { targets_section }
340340 </ div >
341341 </ div >
@@ -347,7 +347,7 @@ export const Home: React.FC<Props> = (props) => {
347347 < UiScrollable top_shadow >
348348 < div className = { styles . content } >
349349 < div className = { styles . inner } >
350- < UiSeparator height = { 4 } />
350+ < UiSeparator height = { 6 } />
351351 { tasks_section }
352352 </ div >
353353 { footer }
Original file line number Diff line number Diff line change @@ -274,7 +274,7 @@ export const MainView: React.FC<Props> = (props) => {
274274
275275 const prompt_section = (
276276 < >
277- < UiSeparator height = { is_landscape ? 4 : 2 } />
277+ < UiSeparator height = { is_landscape ? 6 : 4 } />
278278
279279 < BrowserConnectionStatus
280280 is_visible = { props . target == TARGET . WEB }
@@ -309,12 +309,10 @@ export const MainView: React.FC<Props> = (props) => {
309309 }
310310 ] }
311311 />
312- < UiSeparator height = { 4 } />
312+ < UiSeparator height = { 6 } />
313313 </ >
314314 ) }
315315
316- < UiSeparator height = { 2 } />
317-
318316 { props . response_history . length > 0 &&
319317 ( props . target == TARGET . WEB
320318 ? props . web_prompt_type
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ export const BrowserConnectionStatus: React.FC<Props> = (props) => {
7575 }
7676 actions = { actions }
7777 />
78- < UiSeparator height = { 4 } />
78+ < UiSeparator height = { 6 } />
7979 </ >
8080 )
8181}
Original file line number Diff line number Diff line change 3333 flex-direction : column ;
3434 align-items : flex-start ;
3535 padding : 0 ;
36+
37+ > :first-child {
38+ order : 1 ;
39+ }
3640 }
3741 }
3842}
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ export const use_compacting = (options?: { is_disabled?: boolean }) => {
4141 useEffect ( ( ) => {
4242 if ( is_disabled ) {
4343 set_compact_step ( 0 )
44- set_thresholds ( { } )
44+ set_thresholds ( ( prev ) => ( Object . keys ( prev ) . length == 0 ? prev : { } ) )
4545 return
4646 }
4747
You can’t perform that action at this time.
0 commit comments