fix(power): prevent connected device model name from wrapping and overflowing

This commit is contained in:
Michael Aaron Murphy 2025-02-12 16:52:03 +01:00
parent c76fd47a88
commit b3fcfd619a
No known key found for this signature in database
GPG key ID: B2732D4240C9212C

View file

@ -308,7 +308,7 @@ fn connected_devices() -> Section<crate::pages::Message> {
row!(
widget::icon::from_name(connected_device.device_icon).size(48),
column!(
text::heading(&connected_device.model),
text::heading(&connected_device.model).height(20.0),
row!(battery_icon, battery_percent_and_time)
.spacing(4)
.align_y(Alignment::Center),