Skip to content

Commit

Permalink
fix: update horizontal mobile layout on result
Browse files Browse the repository at this point in the history
  • Loading branch information
felixindrawan committed Dec 12, 2024
1 parent 280c260 commit 06bd13f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
12 changes: 12 additions & 0 deletions css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,13 @@ img {
color: #aaaaaa;
}

.result-container .result-area {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
}

.result-container .scanned-image {
max-height: 200px;
}
Expand Down Expand Up @@ -558,4 +565,9 @@ img {
.result-container .parsed-result-area .parsed-filed {
font-size: 14px;
}

.result-container .result-area {
height: 70%;
flex-direction: row;
}
}
6 changes: 4 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,10 @@ <h3 style="font-weight: normal">Quick Start Options</h3>
</svg>
</div>
</div>
<div class="scanned-image"></div>
<div class="parsed-result-area"></div>
<div class="result-area">
<div class="scanned-image"></div>
<div class="parsed-result-area"></div>
</div>
<div class="scan-again">
<button class="btn-scan-again">Scan Again</button>
</div>
Expand Down

0 comments on commit 06bd13f

Please sign in to comment.