Skip to content

Commit

Permalink
Merge pull request geeeeeeeeek#495 from Rocket1184/restyle-config
Browse files Browse the repository at this point in the history
fix overflow problems and electron version in config page
  • Loading branch information
Kulbear authored May 17, 2017
2 parents 0660f34 + fdc80ab commit b41c7b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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
3 changes: 2 additions & 1 deletion 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 @@ -110,6 +110,7 @@ <h4 id="app-icon-desc">默认路径</h4>
return document.getElementById(id);
}

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

Expand Down

0 comments on commit b41c7b4

Please sign in to comment.