mirror of
https://github.com/tuxdotrs/tpanel.git
synced 2025-10-11 05:11:55 +05:30
style: shorten the name
This commit is contained in:
@@ -8,7 +8,7 @@ export const Battery = () => {
|
||||
<box cssClasses={["pill"]} visible={bind(battery, "isPresent")}>
|
||||
<label
|
||||
label={bind(battery, "percentage").as(
|
||||
(p) => `Bat: ${Math.floor(p * 100)}%`,
|
||||
(p) => `B: ${Math.floor(p * 100)}%`,
|
||||
)}
|
||||
/>
|
||||
</box>
|
||||
|
Reference in New Issue
Block a user