Skip to content

Commit 8b12d6c

Browse files
authored
Update weather-card.js
1 parent f41b90e commit 8b12d6c

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

dist/weather-card.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,18 +339,24 @@ class WeatherCard extends LitElement {
339339
.title {
340340
position: absolute;
341341
left: 3em;
342-
top: 0.6em;
343342
font-weight: 300;
344343
font-size: 3em;
345344
color: var(--primary-text-color);
346345
}
346+
347347
@media (max-width: 460px){
348348
.title {
349349
font-size: 2.2em;
350350
left: 4em;
351-
top: 1em;
351+
}
352+
.temp {
353+
font-size: 3em;
354+
}
355+
.tempc {
356+
font-size: 1em;
352357
}
353358
}
359+
354360
.temp {
355361
font-weight: 300;
356362
font-size: 4em;

0 commit comments

Comments
 (0)