1
0
mirror of https://github.com/kremalicious/blowfish.git synced 2024-11-15 01:25:22 +01:00

spacing tweaks

This commit is contained in:
Matthias Kretschmann 2019-09-07 16:24:44 +02:00
parent 3de445dbeb
commit 03ab21aa22
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 5 additions and 7 deletions

View File

@ -37,7 +37,8 @@ const createWindow = async () => {
title: pkg.productName,
webPreferences: {
nodeIntegration: true,
scrollBounce: true
scrollBounce: true,
enableBlinkFeatures: 'OverlayScrollbars'
}
})
@ -86,9 +87,7 @@ app.on('ready', () => {
// add platform as class
mainWindow.webContents.executeJavaScript(
`document.getElementsByTagName('html')[0].classList.add('${
process.platform
}')`
`document.getElementsByTagName('html')[0].classList.add('${process.platform}')`
)
})
})

View File

@ -71,9 +71,9 @@ a h1 {
.app {
padding: 5% 7%;
cursor: default;
height: calc(100vh - 5%);
transition: .15s ease-out;
width: 100%;
height: 100%;
overflow-y: auto;
}
@ -91,7 +91,6 @@ a h1 {
display: flex;
justify-content: center;
flex-wrap: wrap;
width: 100%;
}
.fullscreen.darwin .app {

View File

@ -28,7 +28,7 @@
.number-unit-wrap {
display: grid;
grid-gap: .5rem;
grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
justify-items: start;
width: 100%;
}