Skip to content

Commit 1390485

Browse files
committed
Restore Ada VRT changes
1 parent 9e39c0e commit 1390485

File tree

6 files changed

+20
-8
lines changed

6 files changed

+20
-8
lines changed

src/app/components/elements/svg/DifficultyIcons.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {Rectangle} from "./Rectangle";
77
import {Circle} from "./Circle";
88

99
// Difficulty icon proportions
10-
const difficultyIconWidth = 15;
10+
const difficultyIconWidth = siteSpecific(15, 25);
1111
const difficultyIconXPadding = 1.5;
1212
const yPadding = 2;
1313
const difficultyCategoryLevels = siteSpecific([1, 2, 3], [1, 2]);

src/app/components/pages/News.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ export const News = () => {
4242
defaultErrorTitle={"Error fetching news stories"}
4343
/> :
4444
<>
45-
<Row className={`row-cols-1 row-cols-sm-2 ${siteSpecific("row-cols-md-1", "row-cols-lg-3")}`}>
45+
<Row className={`row-cols-1 row-cols-sm-2 ${siteSpecific("row-cols-md-1", "row-cols-lg-3 mt-4")}`}>
4646
{allNews.map((n, i) => <Col key={i} className={`my-3 ${siteSpecific("px-3", "px-0 justify-content-center")}`}>
47-
<NewsCard key={n.id} newsItem={n} className={classNames({"h-100": isAda})} showTitle />
47+
<NewsCard key={n.id} newsItem={n} showTitle />
4848
{isPhy && above["md"](deviceSize) && <div className="section-divider"/>}
4949
</Col>)}
5050
</Row>

src/scss/common/gameboard.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565

6666

6767
.hierarchy-tags {
68-
font-size: 0.8125rem;
68+
font-size: 0.875rem;
6969
color: $gray-160;
7070
align-self: center;
7171

src/scss/cs/accordions.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@
3737
}
3838
}
3939

40+
button::after {
41+
width: 30px;
42+
height: 10px;
43+
background-position: right;
44+
margin: auto 1rem auto 0;
45+
}
46+
4047
h2 {
4148
font-size: inherit !important;
4249
}

src/scss/cs/list-groups.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,13 @@
1919
min-width: 50px !important;
2020
border-left: 1px solid $cs-list-outline-gray;
2121
}
22+
23+
li a > span:first-of-type {
24+
display: inline-block;
25+
border-right: 1px solid $gray-107;
26+
margin-right: 1rem;
27+
padding-right: 1rem;
28+
text-align: center;
29+
min-width: 3.4rem;
30+
}
2231
}

src/scss/phy/gameboard.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,3 @@
5353
}
5454
}
5555
}
56-
57-
.hierarchy-tags {
58-
color: $color-neutral-500;
59-
}

0 commit comments

Comments
 (0)