Linux layout changes

This commit is contained in:
2019-10-01 22:09:52 -05:00
parent 6a7c471f46
commit e3b500b2ad
5 changed files with 15 additions and 6 deletions

View File

@@ -14,8 +14,8 @@
"font-awesome": "^4.7.0",
"node-schedule": "^1.3.2",
"randomstring": "^1.1.5",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react": "^16.10.0",
"react-dom": "^16.10.0",
"react-loader-spinner": "^2.3.0",
"react-redux": "^7.1.1",
"react-scripts": "2.1.8",

View File

@@ -77,9 +77,9 @@ const createWindow = () => {
}
// Create the browser window.
const height = (process.env.ELECTRON_START_URL || (os.platform() === 'darwin') ? 294 : 274) + 30 - ((os.platform() === 'win32') ? 0 : 20);
const height = (process.env.ELECTRON_START_URL || (os.platform() === 'darwin') ? 284 : 274) + ((os.platform() === 'win32') ? 30 : -20);
mainWindow = new BrowserWindow({
width: 468 + ((os.platform() === 'win32') ? 0 : (os.platform() === 'darwin') ? 150 : 160),
width: 428 + ((os.platform() === 'win32') ? 40 : (os.platform() === 'darwin') ? 150 : 160),
height: height,
fullscreen: false,
resizable: false,

View File

@@ -72,7 +72,7 @@ export default connect(mapStateToProps, mapDispatchToProps)(props => {
selected={props.MState.DriveLetters.indexOf(props.PState.MountLocation)}/>;
} else {
inputColumnSpan = 58;
inputColumnSpan = 64;
inputControls = [];
let key = 0;
inputControls.push((

View File

@@ -1,4 +1,13 @@
.MountItems {
padding: 0;
margin: 0;
height: 121px;
width: 100%;
box-sizing: border-box;
overflow: hidden;
}
.MountItemsRemote {
padding: 0;
margin: 0;
height: 161px;

View File

@@ -331,7 +331,7 @@ class MountItems extends IPCContainer {
}
return (
<div className={'MountItems'}>
<div className={this.props.remoteSupported ? 'MountItemsRemote' : 'MountItems'}>
{retryDisplay}
{items}
</div>);