Skip to content

Commit 95be2cd

Browse files
committed
fixes
1 parent f3a4fae commit 95be2cd

File tree

10 files changed

+13
-4
lines changed

10 files changed

+13
-4
lines changed

services/app/apps/codebattle/assets/css/style.scss

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,15 @@ $gold: #daa520;
3232

3333
@font-face {
3434
font-family: 'ExternalPlane';
35-
src: url('https://yastatic.net/s3/home/fonts/ys/4/text-geo-regular.woff') format('truetype');
35+
src: url('../static/fonts/ygt.ttf') format('truetype');
36+
font-weight: 900;
37+
font-style: normal;
38+
font-display: swap;
39+
}
40+
41+
@font-face {
42+
font-family: 'ExternalPlaneBold';
43+
src: url('../static/fonts/ygb.ttf') format('truetype');
3644
font-weight: 900;
3745
font-style: normal;
3846
font-display: swap;
@@ -2591,7 +2599,7 @@ a:hover {
25912599
}
25922600

25932601
.cb-stream-widget {
2594-
font-family: 'ExternalPlane';
2602+
font-family: 'ExternalPlaneBold';
25952603
background-color: #000000;
25962604
}
25972605

@@ -2600,6 +2608,7 @@ a:hover {
26002608
}
26012609

26022610
.cb-stream-output-data {
2611+
font-family: 'ExternalPlane';
26032612
color: #B6A4FF;
26042613
display: inline-block;
26052614
overflow: hidden;

services/app/apps/codebattle/assets/js/widgets/pages/stream/StreamEditorPanel.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ function StreamEditorPanel({
1313
roomMachineState,
1414
fontSize,
1515
width = '60%',
16-
taskHeaderFontSize,
1716
testBarHeight,
1817
testBarWinGifTop,
1918
testBarProgressGifTop,
19+
testBarFontSize,
2020
progressGifSize,
2121
winGifSize,
2222
}) {
@@ -65,7 +65,7 @@ function StreamEditorPanel({
6565
<div className="d-flex w-100">
6666
<div className="d-flex w-100 justify-content-end">
6767
<div
68-
style={{ fontSize: taskHeaderFontSize }}
68+
style={{ fontSize: testBarFontSize }}
6969
className="d-flex align-items-center cb-stream-widget-text italic mr-2"
7070
>
7171
{`${Math.round(((output.successCount || 0) * 100) / (output.assertsCount || 1))}/100`}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)