File tree Expand file tree Collapse file tree 2 files changed +15
-8
lines changed
src/vs/workbench/contrib/chat/browser Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -723,14 +723,6 @@ export class ChatWidget extends Disposable implements IChatWidget {
723
723
this . scrollToEnd ( ) ;
724
724
} ) ) ;
725
725
726
- // Font size variables
727
- this . container . style . setProperty ( '--vscode-chat-font-size-body-xs' , '0.846em' /* 11px */ ) ;
728
- this . container . style . setProperty ( '--vscode-chat-font-size-body-s' , '0.923em' /* 12px */ ) ;
729
- this . container . style . setProperty ( '--vscode-chat-font-size-body-m' , '1em' /* 13px */ ) ;
730
- this . container . style . setProperty ( '--vscode-chat-font-size-body-l' , '1.077em' /* 14px */ ) ;
731
- this . container . style . setProperty ( '--vscode-chat-font-size-body-xl' , '1.231em' /* 16px */ ) ;
732
- this . container . style . setProperty ( '--vscode-chat-font-size-body-xxl' , '1.538em' /* 20px */ ) ;
733
-
734
726
// Update the font family and size
735
727
this . _register ( autorun ( reader => {
736
728
const fontFamily = this . chatLayoutService . fontFamily . read ( reader ) ;
Original file line number Diff line number Diff line change 3
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
4
*--------------------------------------------------------------------------------------------*/
5
5
6
+ .interactive-session {
7
+ /* 11px when base font is 13px */
8
+ --vscode-chat-font-size-body-xs : 0.846em ;
9
+ /* 12px when base font is 13px */
10
+ --vscode-chat-font-size-body-s : 0.923em ;
11
+ /* 13px when base font is 13px */
12
+ --vscode-chat-font-size-body-m : 1em ;
13
+ /* 14px when base font is 13px */
14
+ --vscode-chat-font-size-body-l : 1.077em ;
15
+ /* 16px when base font is 13px */
16
+ --vscode-chat-font-size-body-xl : 1.231em ;
17
+ /* 20px when base font is 13px */
18
+ --vscode-chat-font-size-body-xxl : 1.538em ;
19
+ }
20
+
6
21
.interactive-session {
7
22
max-width : 950px ;
8
23
margin : auto;
You can’t perform that action at this time.
0 commit comments