Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
fix for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
forman committed Mar 20, 2018
1 parent 23fde5a commit e1f4bc5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions app/splash.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@
#content {
width: 256px;
height: 256px;
margin: 0;
padding: 0;
}
#message-container {
font-weight: lighter;
font-size: 0.8em;
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;
color: white;
text-shadow: 0 0 8px black;
color: ghostwhite;
text-shadow: 0 0 8px darkslategray;
text-align: center;
margin: 2px;
}
Expand All @@ -26,7 +28,7 @@
}
</script>
</head>
<body onload="init()" style="overflow: hidden;">
<body onload="init()" style="overflow: hidden; margin: 0; padding: 0;">
<div id="content">
<img src="resources/[email protected]"/>
<div id="message-container"></div>
Expand Down
4 changes: 2 additions & 2 deletions src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -457,8 +457,8 @@ class CateDesktopApp {

private showSplashWindow(callback: () => void) {
this.splashWindow = new electron.BrowserWindow({
width: 300,
height: 300,
width: 256,
height: 280,
center: true,
show: true,
useContentSize: true,
Expand Down

0 comments on commit e1f4bc5

Please sign in to comment.