added Batterymenu and refactor

This commit is contained in:
wt committed 2025-03-13 14:37:24 +07:00
1 parent a7824e0128
commit df87cfe22e
2 files changed
+3 -2

No files matched your search

+2 -2
View File
@@ -7,7 +7,7 @@
.BatteryMainBox {
background-color: black;
border-radius: 25px;
border-radius: 15px;
padding: 10px;
}
@@ -25,7 +25,7 @@
.BatteryInfoTable {
padding: 10px;
background-color: rgb(55, 55, 55);
border-radius: 25px;
border-radius: 15px;
min-width: 300px;
label {
font-size: 15px;
+1
View File
@@ -13,6 +13,7 @@ export default function BatteryLevel() {
App.toggle_window("batterymenu");
}}
className="Battery"
// visible={true}
visible={bind(bat, "isPresent")}
>
<box>