Skip to content

Commit

Permalink
Minor UI fix
Browse files Browse the repository at this point in the history
  • Loading branch information
monyxie committed Jun 19, 2024
1 parent 261d5a2 commit be33394
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions src/pages/popup.css
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,13 @@ body {
.scan .scan-input-image {
max-width: 100%;
max-height: 400px;
display: block;
}

.scan .camera {
width: 100%;
height: 100%;
display: block;
}

.scan .output {
Expand All @@ -235,6 +237,11 @@ body {
left: 0;
}

.scan .necker-container {
display: flex;
justify-content: center;
}

/* tabs */
.tabs-container {
width: 100%;
Expand Down
4 changes: 2 additions & 2 deletions src/pages/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,6 @@
<div class="necker-container">
<div class="necker instructions">
<p class="hidden" id="scanningText">{{__MSG_scanning__}}</p>
<a class="clickable hidden" id="cameraRescanBtn" title="{{__MSG_rescan_btn_title__}}"><img
class="icon" src="../icons/refresh.svg" />{{__MSG_rescan_btn_label__}}</a>
</div>
</div>
<textarea class="output hidden" id="scanOutput" title="{{__MSG_content_title__}}" readonly
Expand All @@ -141,6 +139,8 @@
<div class="footer actions2">
</div>
<div class="footer actions3">
<a class="clickable hidden" id="cameraRescanBtn" title="{{__MSG_rescan_btn_title__}}"><img
class="icon" src="../icons/refresh.svg" />{{__MSG_rescan_btn_label__}}</a>
</div>
</div>
</div>
Expand Down

0 comments on commit be33394

Please sign in to comment.