Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
bbalet committed Jul 3, 2019
2 parents 1474a5f + 2adae95 commit 842e1ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/renderer/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ body {
.wrapper {
margin: auto;
max-width: 90vh;
max-width: 70vw;
max-height: 100vh;
text-align: center;
background-color: #fff;
Expand Down
4 changes: 3 additions & 1 deletion src/renderer/components/Typefast.vue
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,11 @@
var kb = document.getElementById('keyboard-tf')
if (kb.style.width === '100%') { // it's big, make smaller
kb.style.width = '10%'
kb.style.height = 'auto'
kb.style.cursor = 'zoom-in'
} else { // it's small, make bigger
kb.style.width = '100%'
kb.style.height = (screen.availHeight - kb.offsetTop) + 'px'
kb.style.cursor = 'zoom-out'
}
}
Expand Down Expand Up @@ -199,6 +201,7 @@
}
.outerWrap:after {
font-size: 1em;
content: "";
display: block;
clear: both;
Expand Down Expand Up @@ -246,7 +249,6 @@
#keyboard-tf {
width: 10%;
height: 15%;
cursor: zoom-in;
}
</style>

0 comments on commit 842e1ea

Please sign in to comment.