Update styling to be more responsive to scaling.

This commit is contained in:
Jas Singh
2024-06-23 23:34:18 -07:00
parent f03443a252
commit ef11216641
8 changed files with 84 additions and 76 deletions

View File

@@ -30,7 +30,7 @@ const moveBoxToCursor = (self, minWidth, minHeight, fixed) => {
marginRight = 13;
marginLeft = monWidth - minWidth - 13;
}
const marginTop = 43;
const marginTop = 40;
const marginBottom = monHeight + minHeight - marginTop;
self.set_margin_left(marginLeft);
self.set_margin_right(marginRight);

View File

@@ -131,6 +131,8 @@ export default () => {
});
};
console.log(JSON.stringify(btDevices, null, 2));
return btDevices.length === 0 ? noDevices() : deviceList();
};