Layout changes
This commit is contained in:
@@ -25,7 +25,7 @@ function createWindow() {
|
|||||||
loadUiSettings();
|
loadUiSettings();
|
||||||
|
|
||||||
// Create the browser window.
|
// Create the browser window.
|
||||||
const height = (process.env.ELECTRON_START_URL ? 394 : 374) - (os.platform() === 'win32' ? 0 : 20);
|
const height = (process.env.ELECTRON_START_URL ? 402 : 382) - (os.platform() === 'win32' ? 0 : 20);
|
||||||
mainWindow = new BrowserWindow({
|
mainWindow = new BrowserWindow({
|
||||||
width: 425 + (os.platform() === 'win32' ? 0 : 130),
|
width: 425 + (os.platform() === 'win32' ? 0 : 130),
|
||||||
height: height,
|
height: height,
|
||||||
@@ -284,7 +284,7 @@ ipcMain.on(Constants.IPC_Detect_Mounts, (event, data) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const setImage = (hsLocation, siaLocation, siaPrimeLocation) => {
|
const setImage = (hsLocation, siaLocation, siaPrimeLocation) => {
|
||||||
if (os.platform() === 'win32') {
|
if (os.platform() === 'win32' || os.platform() === 'linux') {
|
||||||
let image;
|
let image;
|
||||||
if ((siaLocation.length > 0) || (hsLocation.length > 0) || (siaPrimeLocation.length > 0)) {
|
if ((siaLocation.length > 0) || (hsLocation.length > 0) || (siaPrimeLocation.length > 0)) {
|
||||||
image = nativeImage.createFromPath(path.join(__dirname, '/build/logo_both.png'));
|
image = nativeImage.createFromPath(path.join(__dirname, '/build/logo_both.png'));
|
||||||
|
|||||||
@@ -698,8 +698,7 @@ class App extends Component {
|
|||||||
|
|
||||||
if (allowMount) {
|
if (allowMount) {
|
||||||
mainContent.push((
|
mainContent.push((
|
||||||
<div key={'md_' + key++}
|
<div key={'md_' + key++}>
|
||||||
style={{height: '66%'}}>
|
|
||||||
<MountItems allowConfig={allowConfig}
|
<MountItems allowConfig={allowConfig}
|
||||||
allowSiaPrime={allowSiaPrime}
|
allowSiaPrime={allowSiaPrime}
|
||||||
autoMountChanged={this.handleAutoMountChanged}
|
autoMountChanged={this.handleAutoMountChanged}
|
||||||
@@ -752,7 +751,7 @@ class App extends Component {
|
|||||||
</Box>
|
</Box>
|
||||||
</div>
|
</div>
|
||||||
<div styleName='Content'>
|
<div styleName='Content'>
|
||||||
<Box dxStyle={{padding: '8px'}}>
|
<Box dxStyle={{padding: '8px 8px 0px 8px'}}>
|
||||||
{mainContent}
|
{mainContent}
|
||||||
</Box>
|
</Box>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
* {
|
* {
|
||||||
font-family: 'Nunito', sans-serif;
|
font-family: 'Nunito', sans-serif;
|
||||||
font-size: 4.4vmin;
|
font-size: 4vmin;
|
||||||
}
|
}
|
||||||
|
|
||||||
*::-moz-focus-inner {
|
*::-moz-focus-inner {
|
||||||
|
|||||||
Reference in New Issue
Block a user