Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pixeloxx committed Oct 9, 2024
1 parent c553741 commit c8e5af6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ async function DOMContentLoadedEvent() {
console.log('focus in', el.target.value)
if (el.target.value == null || el.target.value == "") {
el.target.parentNode.classList.add("emptySpace");
console.log("empty space")
} else {
el.target.parentNode.classList.remove("emptySpace");
}
Expand Down
16 changes: 9 additions & 7 deletions src/styles/_scaffolding.scss
Original file line number Diff line number Diff line change
Expand Up @@ -146,20 +146,21 @@ input {

.emptySpace {
background: url(assets/tile.png);

}

/* LARGE */

#title {
border: none;
resize: none;
font-size: 2.9em;
font-size: 2.3em;
position: relative;
float: left;
height: 100%;
max-width: 80%;
max-height: 3em;
max-width: 79%;
line-height: 1.4em;
max-height: 4.2em;
overflow: hidden;
}


Expand Down Expand Up @@ -223,12 +224,13 @@ input {
.small_29mm_62mm #title {
border: none;
resize: none;
font-size: 1.9em;
font-size: 3.4em;
line-height: 1.4em;
position: relative;
float: left;
height: 100%;
max-width: 60%;
max-height: 2em;
max-width: 75%;
max-height: 2.7em;
}

.small_29mm_62mm #qrCode {
Expand Down

0 comments on commit c8e5af6

Please sign in to comment.