Reduce window size
This commit is contained in:
@@ -12,8 +12,8 @@ if (!process.versions.hasOwnProperty('electron')) {
|
||||
if (ipcRenderer) {
|
||||
ipcRenderer.on(Constants.IPC_Get_Platform_Reply, (event, arg) => {
|
||||
if (arg.OSPlatform === 'linux') {
|
||||
let root = document.documentElement;
|
||||
root.style.setProperty('--default_font_size', '4.8vmin');
|
||||
const root = document.documentElement;
|
||||
root.style.setProperty('--default_font_size', '15px');
|
||||
}
|
||||
|
||||
ReactDOM.render(<App platform={arg.Platform} version={packageJson.version}/>, document.getElementById('root'));
|
||||
|
||||
Reference in New Issue
Block a user