diff --git a/modules/menus/energy/profiles/index.ts b/modules/menus/energy/profiles/index.ts index 275acbd6b..70a154b1e 100644 --- a/modules/menus/energy/profiles/index.ts +++ b/modules/menus/energy/profiles/index.ts @@ -29,8 +29,7 @@ const EnergyProfiles = (): BoxWidget => { label: 'Power Profile', }), Widget.Label({ - class_name: 'menu-label', - css: 'font-size: 0.92em', + class_name: 'menu-label uptime', label: uptime.bind().as(up), }), ], diff --git a/scss/style/menus/energy.scss b/scss/style/menus/energy.scss index a798b2a91..45648f3e4 100644 --- a/scss/style/menus/energy.scss +++ b/scss/style/menus/energy.scss @@ -22,6 +22,9 @@ background: if($bar-menus-monochrome, $bar-menus-cards, $bar-menus-menu-battery-card-color); } + .uptime { + font-size: 0.92em; + } .menu-items-section { background: if($bar-menus-monochrome, $bar-menus-cards, $bar-menus-menu-battery-card-color);