Layout changes

This commit is contained in:
Scott E. Graves
2018-12-13 23:07:09 -06:00
parent 9b2f12200c
commit 45a68ddbf7
4 changed files with 4 additions and 4 deletions

View File

@@ -37,9 +37,9 @@ function createWindow() {
loadUiSettings();
// Create the browser window.
const height = (process.env.ELECTRON_START_URL ? 364 : 344) - ((os.platform() === 'win32') || (os.platform() === 'darwin') ? 0 : 24);
const height = (process.env.ELECTRON_START_URL ? 364 : 344) - ((os.platform() === 'win32') || (os.platform() === 'darwin') ? 0 : 20);
mainWindow = new BrowserWindow({
width: 428 + (os.platform() === 'win32' ? 0 : 120),
width: 428 + (os.platform() === 'win32' ? 0 : 170),
height: height,
resizable: false,
show: !launchHidden,

BIN
public/logo.xcf Normal file

Binary file not shown.

View File

@@ -1,6 +1,6 @@
input.Input {
margin: 0;
padding: 5px;
padding: 3px;
border-radius: var(--border_radius);
background: rgba(160, 160, 160, 0.1);
border: none;

View File

@@ -13,7 +13,7 @@ if (!process.versions.hasOwnProperty('electron')) {
ipcRenderer.on(Constants.IPC_Get_Platform_Reply, (event, arg) => {
if (arg.data !== 'win32') {
let root = document.documentElement;
root.style.setProperty('--default_font_size', '4.4vmin');
root.style.setProperty('--default_font_size', '4.8vmin');
}
ReactDOM.render(<App platform={arg.data} version={packageJson.version}/>, document.getElementById('root'));
registerServiceWorker();