Skip to content

Commit 963384b

Browse files
committed
Adjust font sizes in BloodSugarMonitor and TemperatureMonitor for improved readability on various screen sizes; increase wait time in Docker workflow for service readiness.
1 parent 7d0c92e commit 963384b

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
run: docker-compose up -d --build --remove-orphans
3535

3636
- name: Wait for services to be ready
37-
run: sleep 10
37+
run: sleep 25
3838

3939
- name: Refresh browser on touchscreen
4040
run: |

HomeSpeaker.WebAssembly/Components/BloodSugarMonitor.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,14 @@
9696
margin: 0.25rem 0;
9797
line-height: 0.9;
9898
} .blood-sugar-card .blood-sugar-display .display-1 {
99-
font-size: 3.6rem !important;
99+
font-size: 3.0rem !important;
100100
text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
101101
}
102102
103103
/* Extra large on smaller screens for better visibility */
104104
@@media (max-width: 1024px) {
105105
.blood-sugar-card .blood-sugar-display .display-1 {
106-
font-size: 4.5rem !important;
106+
font-size: 3.6rem !important;
107107
}
108108
}.blood-sugar-card .trend-display {
109109
margin: 0.25rem 0;

HomeSpeaker.WebAssembly/Components/TemperatureMonitor.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,14 +124,14 @@
124124
margin: 0.25rem 0;
125125
line-height: 0.9;
126126
} .temperature-card .temperature-display .display-1 {
127-
font-size: 3.6rem !important;
127+
font-size: 3.0rem !important;
128128
text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
129129
}
130130
131131
/* Extra large on smaller screens for better visibility */
132132
@@media (max-width: 1024px) {
133133
.temperature-card .temperature-display .display-1 {
134-
font-size: 4.5rem !important;
134+
font-size: 3.6rem !important;
135135
}
136136
}
137137

0 commit comments

Comments
 (0)