Skip to content

Commit 22852b3

Browse files
committed
fixes
1 parent 376ef8e commit 22852b3

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,11 @@ function StreamFullPanel({
117117
<div className="d-flex w-100 justify-content-between py-3 px-4" style={{ height: '25%', minHeight: '25%', maxHeight: '25%' }}>
118118
<div>
119119
<div className="cb-stream-tasks-stats cb-stream-full-task-stats cb-stream-widget-text">
120-
<span style={{ verticalAlign: statusVerticalAlign, fontSize: taskHeaderFontSize, marginBottom: numberMarginBottom }}>
121-
{`${(game?.task?.id || 1) % 21}/21 ЗАДАЧ`}
122-
</span>
120+
<div style={{ marginBottom: numberMarginBottom }}>
121+
<span style={{ verticalAlign: statusVerticalAlign, fontSize: taskHeaderFontSize }}>
122+
{`${(game?.task?.id || 1) % 21}/21 ЗАДАЧ`}
123+
</span>
124+
</div>
123125
</div>
124126
</div>
125127
<div style={{ fontSize: descriptionFontSize }} className="cb-stream-task-description h-100 w-100 px-4">

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,11 @@ function StreamTaskInfoPanel({
7474
)
7575
}
7676
>
77-
<span style={{ verticalAlign: headerVerticalAlign, numberMargin: numberMarginBottom }}>
78-
{`${(game?.task?.id || 1) % 21}/21 ЗАДАЧ`}
79-
</span>
77+
<div style={{ marginBottom: numberMarginBottom }}>
78+
<span style={{ verticalAlign: headerVerticalAlign }}>
79+
{`${(game?.task?.id || 1) % 21}/21 ЗАДАЧ`}
80+
</span>
81+
</div>
8082
</div>
8183
</div>
8284
<div>

0 commit comments

Comments
 (0)