Linux layout changes
This commit is contained in:
@@ -14,8 +14,8 @@
|
|||||||
"font-awesome": "^4.7.0",
|
"font-awesome": "^4.7.0",
|
||||||
"node-schedule": "^1.3.2",
|
"node-schedule": "^1.3.2",
|
||||||
"randomstring": "^1.1.5",
|
"randomstring": "^1.1.5",
|
||||||
"react": "^16.9.0",
|
"react": "^16.10.0",
|
||||||
"react-dom": "^16.9.0",
|
"react-dom": "^16.10.0",
|
||||||
"react-loader-spinner": "^2.3.0",
|
"react-loader-spinner": "^2.3.0",
|
||||||
"react-redux": "^7.1.1",
|
"react-redux": "^7.1.1",
|
||||||
"react-scripts": "2.1.8",
|
"react-scripts": "2.1.8",
|
||||||
|
|||||||
@@ -77,9 +77,9 @@ const createWindow = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Create the browser window.
|
// 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({
|
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,
|
height: height,
|
||||||
fullscreen: false,
|
fullscreen: false,
|
||||||
resizable: false,
|
resizable: false,
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ export default connect(mapStateToProps, mapDispatchToProps)(props => {
|
|||||||
selected={props.MState.DriveLetters.indexOf(props.PState.MountLocation)}/>;
|
selected={props.MState.DriveLetters.indexOf(props.PState.MountLocation)}/>;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
inputColumnSpan = 58;
|
inputColumnSpan = 64;
|
||||||
inputControls = [];
|
inputControls = [];
|
||||||
let key = 0;
|
let key = 0;
|
||||||
inputControls.push((
|
inputControls.push((
|
||||||
|
|||||||
@@ -1,4 +1,13 @@
|
|||||||
.MountItems {
|
.MountItems {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
height: 121px;
|
||||||
|
width: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.MountItemsRemote {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
height: 161px;
|
height: 161px;
|
||||||
|
|||||||
@@ -331,7 +331,7 @@ class MountItems extends IPCContainer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={'MountItems'}>
|
<div className={this.props.remoteSupported ? 'MountItemsRemote' : 'MountItems'}>
|
||||||
{retryDisplay}
|
{retryDisplay}
|
||||||
{items}
|
{items}
|
||||||
</div>);
|
</div>);
|
||||||
|
|||||||
Reference in New Issue
Block a user