Skip to content

Commit 013ce40

Browse files
feat(responsive): add media queries for scaling the widget on HD resolutions
1 parent 43e4a45 commit 013ce40

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

src/sass/components/weather-icons/main.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ $weather-icon-2h: $weather-icon-2w;
106106
&.big {
107107
background-size: 1930% 100%;
108108

109-
width: $weather-icon-2w !important;
110-
height: $weather-icon-2h !important;
109+
//width: $weather-icon-2w !important;
110+
//height: $weather-icon-2h !important;
111111
}
112112
}
113113

src/sass/global/elements.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11

22
html {
33
font-size: 14px;
4+
$breakpoint-md: map-get($breakpoints, md);
5+
6+
@media all and (min-width: $breakpoint-md) and (max-width: 1099px) {
7+
font-size: 20px;
8+
}
9+
10+
@media all and (min-width: 1100px) {
11+
font-size: 24px;
12+
}
413
}
514

615
body {

0 commit comments

Comments
 (0)