Skip to content

Commit de3d02d

Browse files
authored
fix(icon): set font-size to inherit to override codicons font size (#7944)
2 parents e5b5127 + 76be875 commit de3d02d

File tree

67 files changed

+6
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+6
-0
lines changed

packages/components/src/components/icon/style.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,10 @@
99
font-size: inherit;
1010
line-height: inherit;
1111
}
12+
13+
/* this rules overwrites the fixed font size from codicon */
14+
:host > i,
15+
:host > i::before {
16+
font-size: inherit !important;
17+
}
1218
}
4.68 KB
4.62 KB
-3.53 KB
2.23 KB
220 Bytes
587 Bytes
1.1 KB
1.02 KB
1.07 KB

0 commit comments

Comments
 (0)