@@ -336,7 +336,7 @@ const AutoApproveMenu = ({ style }: AutoApproveMenuProps) => {
336336 < div
337337 ref = { menuRef }
338338 style = { {
339- padding : "0 10px" ,
339+ padding : "0 4px 0 10px" ,
340340 margin : "0 5px" ,
341341 userSelect : "none" ,
342342 borderTop : `0.5px solid color-mix(in srgb, ${ getAsVar ( VSC_TITLEBAR_INACTIVE_FOREGROUND ) } 20%, transparent)` ,
@@ -352,6 +352,7 @@ const AutoApproveMenu = ({ style }: AutoApproveMenuProps) => {
352352 style = { {
353353 cursor : "pointer" ,
354354 paddingTop : "6px" ,
355+ paddingRight : "2px" ,
355356 display : "flex" ,
356357 alignItems : "center" ,
357358 justifyContent : "space-between" ,
@@ -369,6 +370,7 @@ const AutoApproveMenu = ({ style }: AutoApproveMenuProps) => {
369370 gap : "4px" ,
370371 whiteSpace : "nowrap" , // Prevent text wrapping
371372 } } >
373+ < span > Auto-approve:</ span >
372374 { getQuickAccessItems ( ) }
373375 </ div >
374376 < span className = "codicon codicon-chevron-right" />
@@ -393,25 +395,25 @@ const AutoApproveMenu = ({ style }: AutoApproveMenuProps) => {
393395 display : "flex" ,
394396 justifyContent : "space-between" ,
395397 alignItems : "center" ,
396- padding : "8px 0" ,
398+ padding : "8px 4px 8px 0" ,
397399 cursor : "pointer" ,
398400 position : "relative" , // Added for positioning context
399401 } }
400402 onClick = { ( ) => setIsExpanded ( false ) } >
401403 < HeroTooltip
402404 content = "Auto-approve allows Cline to perform the following actions without asking for permission. Please use with caution and only enable if you understand the risks."
403405 placement = "top" >
404- < span style = { { color : getAsVar ( VSC_FOREGROUND ) } } > Auto-approve</ span >
406+ < span style = { { color : getAsVar ( VSC_FOREGROUND ) , fontWeight : 500 } } > Auto-approve: </ span >
405407 </ HeroTooltip >
406- < span className = "codicon codicon-chevron-down" style = { { paddingRight : "4px" } } />
408+ < span className = "codicon codicon-chevron-down" />
407409 </ div >
408410
409411 < div
410412 ref = { itemsContainerRef }
411413 style = { {
412414 columnCount : containerWidth > breakpoint ? 2 : 1 ,
413415 columnGap : "4px" ,
414- margin : "4px 0 8px 0" ,
416+ margin : "4px 0 16px 0" ,
415417 position : "relative" , // For absolute positioning of the separator
416418 } } >
417419 { /* Vertical separator line - only visible in two-column mode */ }
@@ -442,14 +444,7 @@ const AutoApproveMenu = ({ style }: AutoApproveMenuProps) => {
442444 />
443445 ) ) }
444446 </ div >
445- < div
446- style = { {
447- height : "0.5px" ,
448- background : getAsVar ( VSC_TITLEBAR_INACTIVE_FOREGROUND ) ,
449- margin : "8px 0" ,
450- opacity : 0.2 ,
451- } }
452- />
447+ < span style = { { color : getAsVar ( VSC_FOREGROUND ) , marginBottom : 4 , fontWeight : 500 } } > Quick Settings:</ span >
453448 < AutoApproveMenuItem
454449 key = { NOTIFICATIONS_SETTING . id }
455450 action = { NOTIFICATIONS_SETTING }
@@ -463,7 +458,7 @@ const AutoApproveMenu = ({ style }: AutoApproveMenuProps) => {
463458 placement = "top" >
464459 < div
465460 style = { {
466- margin : "2px 10px 10px 5px" ,
461+ margin : "2px 10px 20px 5px" ,
467462 display : "flex" ,
468463 alignItems : "center" ,
469464 gap : "8px" ,
@@ -500,7 +495,13 @@ const AutoApproveMenu = ({ style }: AutoApproveMenuProps) => {
500495 { isExpanded && (
501496 < span
502497 className = "codicon codicon-chevron-up"
503- style = { { paddingBottom : "4px" , marginLeft : "auto" , marginTop : "-20px" , cursor : "pointer" } }
498+ style = { {
499+ paddingBottom : "4px" ,
500+ paddingRight : "3px" ,
501+ marginLeft : "auto" ,
502+ marginTop : "-20px" ,
503+ cursor : "pointer" ,
504+ } }
504505 onClick = { ( ) => setIsExpanded ( false ) }
505506 />
506507 ) }
0 commit comments