ELECTRON-1346 - Fix notification fonts and safety checks for setAboutPanel (#734)

This commit is contained in:
Kiran Niranjan
2019-07-17 12:02:15 +05:30
committed by Vishwas Shashidhar
parent 2d958cc75f
commit 54994590b5
2 changed files with 8 additions and 5 deletions

View File

@@ -71,7 +71,9 @@ const startApplication = async () => {
await app.whenReady();
versionHandler.getClientVersion()
.then((versionInfo: IVersionInfo) => {
setAboutPanel(versionInfo.clientVersion, versionInfo.buildNumber);
if (isMac) {
setAboutPanel(versionInfo.clientVersion, versionInfo.buildNumber);
}
});
logger.info(`main: app is ready, performing initial checks`);
createAppCacheFile();

View File

@@ -13,7 +13,7 @@ body {
margin: 0;
overflow: hidden;
-webkit-user-select: none;
font-family: @font-family;
font-family: sans-serif;
}
.container {
@@ -61,7 +61,7 @@ body {
}
.title {
font-family: @font-family;
font-family: sans-serif;
font-size: 14px;
font-weight: 700;
color: var(--text-color);
@@ -72,9 +72,10 @@ body {
}
.company {
font-family: @font-family;
font-family: sans-serif;
font-size: 11px;
overflow: hidden;
color: #adadad;
filter: brightness(70%);
display: -webkit-box;
-webkit-line-clamp: 1;
@@ -82,7 +83,7 @@ body {
}
.message {
font-family: @font-family;
font-family: sans-serif;
width: 100%;
overflow-wrap: break-word;
font-size: 12px;