@@ -83,7 +83,7 @@ export const HomeView: React.FC<Props> = (props) => {
8383
8484 const container_width = container_ref . current . offsetWidth
8585 const switch_width = switch_container_ref . current . offsetWidth
86- const calculated_width = container_width - switch_width - 58
86+ const calculated_width = container_width - switch_width - 60
8787
8888 set_dropdown_max_width ( calculated_width )
8989 }
@@ -411,33 +411,21 @@ export const HomeView: React.FC<Props> = (props) => {
411411 QUICK ACTIONS
412412 </ div >
413413 < div className = { styles [ 'footer__commands__inner' ] } >
414- { props . home_view_type == HOME_VIEW_TYPES . WEB &&
415- ( props . web_mode == 'edit' ||
416- props . web_mode == 'code-completions' ) && (
417- < UiQuickAction
418- title = "Apply Chat Response"
419- description = "Integrate copied message or code block"
420- on_click = { ( ) =>
421- props . on_quick_action_click ( 'codeWebChat.applyChatResponse' )
422- }
423- />
424- ) }
425- { ( ( props . home_view_type == HOME_VIEW_TYPES . WEB &&
426- ( props . web_mode == 'edit' ||
427- props . web_mode == 'code-completions' ) ) ||
428- ( props . home_view_type == HOME_VIEW_TYPES . API &&
429- props . api_mode == 'edit' ) ) && (
430- < UiQuickAction
431- title = "Revert Last Changes"
432- description = "Restore saved state of the codebase"
433- on_click = { ( ) =>
434- props . on_quick_action_click ( 'codeWebChat.revert' )
435- }
436- />
437- ) }
414+ < UiQuickAction
415+ title = "Apply Chat Response"
416+ description = "Integrate copied message or a code block"
417+ on_click = { ( ) =>
418+ props . on_quick_action_click ( 'codeWebChat.applyChatResponse' )
419+ }
420+ />
421+ < UiQuickAction
422+ title = "Revert Last Changes"
423+ description = "Restore saved state of the codebase"
424+ on_click = { ( ) => props . on_quick_action_click ( 'codeWebChat.revert' ) }
425+ />
438426 < UiQuickAction
439427 title = "Commit Changes"
440- description = "Generate commit message and commit"
428+ description = "Generate a commit message and commit"
441429 on_click = { ( ) =>
442430 props . on_quick_action_click ( 'codeWebChat.commitChanges' )
443431 }
0 commit comments