Skip to content

Commit cf6f0fd

Browse files
committed
fix(ui): avoid double apply css
1 parent 359d090 commit cf6f0fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

webview-ui/src/preflight.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,15 +131,15 @@ pre {
131131
); /* 4 */
132132
font-feature-settings: var(--default-mono-font-feature-settings, normal); /* 5 */
133133
font-variation-settings: var(--default-mono-font-variation-settings, normal); /* 6 */
134-
font-size: calc(1em * var(--roo-font-size-multiplier, 1)); /* 4 */
134+
font-size: 1em; /* 4 */
135135
}
136136

137137
/*
138138
Add the correct font size in all browsers.
139139
*/
140140

141141
small {
142-
font-size: calc(80% * var(--roo-font-size-multiplier, 1));
142+
font-size: 80%;
143143
}
144144

145145
/*
@@ -148,7 +148,7 @@ small {
148148

149149
sub,
150150
sup {
151-
font-size: calc(75% * var(--roo-font-size-multiplier, 1));
151+
font-size: 75%;
152152
line-height: 0;
153153
position: relative;
154154
vertical-align: baseline;

0 commit comments

Comments
 (0)