Skip to content

Commit

Permalink
use contain during countdown so actual image window is shown in preview.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgineer85 committed Apr 21, 2024
1 parent deefa24 commit ef1949c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/css/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ body {
background-repeat: no-repeat;
background-position: center center;
}
#preview-stream.countdowncounting {
background-size: contain;
}

.action-button {
font-size: 1.6rem;
Expand Down
1 change: 1 addition & 0 deletions src/pages/IndexPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
id="preview-stream"
style="background-image: url('/api/aquisition/stream.mjpg')"
class="full-width column justify-center content-center"
:class="{ countdowncounting: showCountdownCounting }"
></div>
</div>

Expand Down

0 comments on commit ef1949c

Please sign in to comment.