Skip to content

Commit

Permalink
Merge branch 'master' into trayicon-config
Browse files Browse the repository at this point in the history
  • Loading branch information
rocka authored May 17, 2017
2 parents 4a39f06 + b41c7b4 commit 918d473
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
7 changes: 3 additions & 4 deletions src/windows/styles/settings.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@ section {
position: relative;
width: 75%;
left: 12.5%;
margin: 1px;
border-bottom: 1px solid gray;
text-align:
overflow: hidden;
}

.page {
Expand Down Expand Up @@ -62,9 +61,9 @@ section {
padding: 0;
margin: 0 0 10px 0;
border: none;
height: 130px;
height: 140px;
width: 100%;
overflow: auto;
overflow: hidden;
background-color: #CCC;
box-shadow: 0px 5px 5px #CCC;
}
Expand Down
5 changes: 3 additions & 2 deletions src/windows/views/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<li>
<h1>Electronic Wechat V2.0.0</h1></li>
<li>
<h1 style="font-size:95%;">Powered by Electron V1.4.7</h1></li>
<h1 style="font-size:95%;">Powered by Electron V<span id="top-title-electron-ver">process.versions.electron</span></h1></li>
</ul>
</div>
</div>
Expand Down Expand Up @@ -126,11 +126,12 @@ <h4 id="app-tray-desc">选择一个适合当前主题的颜色</h4>
function $(id) {
return document.getElementById(id);
}

if(process.platform === 'darwin') {
$('process.platform').style.display = 'none';
}

$('top-title-electron-ver').innerText = process.versions.electron;
setConfig();
setListeners()

Expand Down

0 comments on commit 918d473

Please sign in to comment.