Skip to content

Commit 4868e92

Browse files
committed
Small fixes
1 parent 89fd324 commit 4868e92

2 files changed

Lines changed: 13 additions & 12 deletions

File tree

src/components/AstroPiModel/AstroPiModel.scss

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666

6767
&-heading {
6868
font-weight: var(--font-weight-base);
69-
font-size: var(--font-size-d-1);
69+
font-size: var(--font-size-base);
7070
margin: 0;
7171
margin-bottom: var(--spacing-1);
7272
}
@@ -112,7 +112,6 @@
112112
width: 100%;
113113
padding: var(--spacing-half);
114114
box-sizing: border-box;
115-
font-size: var(--font-size-d-1);
116115
display: flex;
117116
align-items: center;
118117
justify-content: center;
@@ -133,8 +132,8 @@
133132
}
134133

135134
&-name {
136-
font-size: var(--font-size-d-1);
137-
text-transform: uppercase;
135+
font-variant: small-caps;
136+
text-transform: lowercase;
138137
margin: var(--spacing-half) 0;
139138
}
140139

@@ -271,8 +270,8 @@
271270

272271
.font-size-medium {
273272
.sense-hat-controls {
274-
&-panel__control-name, &-panel__control-toggle, &-heading {
275-
font-size: var(--font-size-u-1);
273+
&-heading {
274+
font-size: var(--font-size-u-2);
276275
}
277276
}
278277
.sense-hat-model-orientation__reading {
@@ -282,8 +281,8 @@
282281

283282
.font-size-large {
284283
.sense-hat-controls {
285-
&-panel__control-name, &-panel__control-toggle, &-heading {
286-
font-size: var(--font-size-u-3);
284+
&-heading {
285+
font-size: var(--font-size-u-4);
287286
}
288287
}
289288
.sense-hat-model-orientation__reading {

src/components/WebComponent/WebComponent.scss

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ code {
2828
button {
2929
all: initial;
3030
font-size: inherit;
31-
32-
svg {
33-
fill: inherit;
34-
}
3531
}
3632

3733
.--light {
@@ -49,6 +45,12 @@ button {
4945
fill: $editor-white;
5046
}
5147

48+
button {
49+
svg {
50+
fill: inherit;
51+
}
52+
}
53+
5254
.react-tabs__tab--selected {
5355
background-color: $editor-grey;
5456
color: inherit;

0 commit comments

Comments
 (0)