Update styling to be more responsive to scaling.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -131,6 +131,8 @@ export default () => {
|
||||
});
|
||||
};
|
||||
|
||||
console.log(JSON.stringify(btDevices, null, 2));
|
||||
|
||||
return btDevices.length === 0 ? noDevices() : deviceList();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user