Skip to content

Commit 48330b2

Browse files
authored
Set Assistant action bar as nested (#8895)
Address #8574 The action bar had some theme changes that affects how it looks for the chat provider switcher. Setting `nestedActionBar=true` on the component makes the component background transparent. This now matches the rest of the view in light, dark, and high contrast themes. Light <img width="366" height="79" alt="image" src="https://github.com/user-attachments/assets/a12b6109-8b4c-4b90-a9d4-4b1694271060" /> Dark <img width="354" height="80" alt="image" src="https://github.com/user-attachments/assets/37f078db-7e62-4ec9-acdf-cea09eb6a3e4" /> Light High Contrast <img width="362" height="77" alt="image" src="https://github.com/user-attachments/assets/0acd44fb-2994-4dd4-b7ce-072a6ce03460" /> Dark High Contrast <img width="359" height="82" alt="image" src="https://github.com/user-attachments/assets/2a10ce4d-b720-4703-94e6-ec15bd4b31b2" /> ### Release Notes #### New Features - N/A #### Bug Fixes - Fix Assistant provider switcher theme ### QA Notes The option also affects a keydown handler. Using the keyboard still works to open the switcher.
1 parent fd2186c commit 48330b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/chat/browser/positron/chatActionBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export const ChatActionBar: React.FC<ChatActionBarProps> = ((props) => {
8282

8383
return (
8484
<div className='chat-action-bar'>
85-
<PositronActionBar>
85+
<PositronActionBar nestedActionBar={true}>
8686
{renderCurrentProvider()}
8787
</PositronActionBar>
8888
</div>

0 commit comments

Comments
 (0)