Skip to content

Commit 809c7f8

Browse files
committed
Fix icon sizing for themes with custom font-sizes
Fixes microsoft#13719
1 parent 04edc75 commit 809c7f8

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/vs/workbench/contrib/chat/browser/media/chat.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1249,12 +1249,14 @@ have to be updated for changes to the rules above, or to support more deeply nes
12491249
}
12501250

12511251
.interactive-session .chat-attached-context .chat-attached-context-attachment .monaco-icon-label::before {
1252-
height: 90%;
1252+
height: 1em;
12531253
width: auto;
12541254
padding: 0;
12551255
line-height: 1em !important;
12561256
align-self: center;
12571257

1258+
font-size: 100%;
1259+
12581260
background-size: contain;
12591261
background-position: center;
12601262
background-repeat: no-repeat;

src/vs/workbench/contrib/chat/browser/media/chatInlineAnchorWidget.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
display: inline-block;
4040
line-height: 100%;
4141
overflow: hidden;
42+
font-size: 100% !important;
4243

4344
background-size: contain;
4445
background-position: center;

0 commit comments

Comments
 (0)