Skip to content

Commit

Permalink
fix(power): prevent connected device model name from wrapping and ove…
Browse files Browse the repository at this point in the history
…rflowing
  • Loading branch information
mmstick committed Feb 12, 2025
1 parent c76fd47 commit b3fcfd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cosmic-settings/src/pages/power/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit b3fcfd6

Please sign in to comment.