Layout changes
This commit is contained in:
@@ -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
BIN
public/logo.xcf
Normal file
Binary file not shown.
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user