From da7688f13b2be87a9e23074b9b4c864492ff1d66 Mon Sep 17 00:00:00 2001 From: khlam <4841220+khlam@users.noreply.github.com> Date: Sun, 6 Oct 2019 23:54:38 -0700 Subject: [PATCH] discord browser loading --- css/style.css | 22 ++++++++++++++++++++++ index.html | 1 + main.js | 2 +- src-react/screens/Dashboard.jsx | 5 +---- 4 files changed, 25 insertions(+), 5 deletions(-) create mode 100644 css/style.css diff --git a/css/style.css b/css/style.css new file mode 100644 index 0000000..ae208dc --- /dev/null +++ b/css/style.css @@ -0,0 +1,22 @@ +html, body{ + width:100%; + height:100%; + margin:0px; + padding: 0; + overflow: hidden; + } + +div { + width:100%; + height:100%; + } + +webview { + height:100%; + width:100%; + scro +} + +::-webkit-scrollbar { + display: none; +} \ No newline at end of file diff --git a/index.html b/index.html index fc975f4..4123358 100644 --- a/index.html +++ b/index.html @@ -3,6 +3,7 @@ Test +
diff --git a/main.js b/main.js index bf8d0ee..d8db540 100644 --- a/main.js +++ b/main.js @@ -8,7 +8,7 @@ export let mainWindow function createWindow () { // Create the browser window. - mainWindow = new BrowserWindow({ width: 800, height: 600 }) + mainWindow = new BrowserWindow({ width: 1200, height: 800 }) // and load the index.html of the app. mainWindow.loadFile('index.html') diff --git a/src-react/screens/Dashboard.jsx b/src-react/screens/Dashboard.jsx index a107f7d..e569a8f 100644 --- a/src-react/screens/Dashboard.jsx +++ b/src-react/screens/Dashboard.jsx @@ -6,10 +6,7 @@ class Dashboard extends React.Component { render () { return (
- -

- Version: {app.getVersion()} -

+
) }