Skip to content

Commit 82ab05f

Browse files
committed
fix(sdk): fixed statement viewer css (v3.15.4)
1 parent cecf410 commit 82ab05f

File tree

2 files changed

+43
-6
lines changed

2 files changed

+43
-6
lines changed

playground/misc/misc-3-release-notes.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
The CodinGame SDK is regularly updated and improved. This document lets you know what changed in the latest releases.
44

5+
## 3.15.4
6+
7+
### 🐞 Bug fix
8+
9+
- Added a missing chunk of CSS from the statement preview page.
10+
11+
512
## 3.15.3
613

714
### 🐞 Bug fix

runner/src/main/resources/view/statement.css

Lines changed: 36 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
:root {
22
--cg-grey-new: #838891;
3+
--cg-wood: #7cc576;
4+
--cg-wood-soft: #7cc57620;
35
}
46

57
html,
@@ -207,11 +209,11 @@ button {
207209

208210
.statement-body h1,
209211
.statement-body h2 {
210-
color: var(--cg-grey-new);
211-
font-size: 14px;
212-
font-weight: bold;
213-
margin-bottom: 15px;
214-
margin-top: 0;
212+
color: var(--cg-grey-new);
213+
font-size: 14px;
214+
font-weight: bold;
215+
margin-bottom: 15px;
216+
margin-top: 0;
215217
}
216218

217219
.statement-body #statement_back {
@@ -346,7 +348,7 @@ button {
346348
position: relative;
347349
background-color: #000000;
348350
width: 100%;
349-
351+
350352
}
351353
.statement-body .statement-story-background img {
352354
width: 100%;
@@ -365,3 +367,31 @@ button {
365367
margin-top: 0;
366368
color: white;
367369
}
370+
371+
.statement-new-league-rule {
372+
padding-left: 10px;
373+
border-left: 5px solid var(--cg-wood);
374+
margin-left: -15px;
375+
background: var(--cg-wood-soft);
376+
margin-right: -15px;
377+
padding-right: 10px;
378+
}
379+
.statement-summary-new-league-rules {
380+
color: var(--cg-wood);
381+
background-color: var(--cg-wood-soft);
382+
padding: 20px;
383+
margin-right: 15px;
384+
margin-left: 15px;
385+
margin-bottom: 10px;
386+
text-align: left;
387+
}
388+
.statement-summary-new-league-rules-logo {
389+
text-align: center;
390+
margin-bottom: 6px
391+
}
392+
.statement-summary-new-league-rules-title {
393+
text-align: center;
394+
font-weight: 700;
395+
margin-bottom: 6px;
396+
397+
}

0 commit comments

Comments
 (0)