Skip to content

Commit 67f28e5

Browse files
committed
app battery icon/text size tweaks
1 parent f082c66 commit 67f28e5

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

src/app.ts

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,18 +142,25 @@ const batteryStatus = connect(({ state: { soc, range, isCharging, isPluggedIn }
142142
icons.push(
143143
Img(getTintedIcon(calculateBatteryIcon(soc)), {
144144
align: 'left',
145-
width: '10%',
145+
width: '18%',
146146
}),
147147
)
148148
if (chargingIcon) {
149149
icons.push(
150150
Img(getTintedIcon(chargingIcon), {
151151
align: 'left',
152-
width: '10%',
153152
}),
154153
)
155154
}
156-
return Div(icons.concat([P(`${soc.toString()}% (~ ${range} km)`, { align: 'left' })]))
155+
return Div(
156+
icons.concat([
157+
P(`${soc.toString()}% (~ ${range} km)`, {
158+
align: 'left',
159+
fontSize: 22,
160+
width: '90%',
161+
}),
162+
]),
163+
)
157164
})
158165

159166
const pageIcons = connect(

0 commit comments

Comments
 (0)