Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust UI components position for low resolution screens #262

Merged
merged 1 commit into from
Jun 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ <h5 data-langkey="pin-prompt" style="text-justify: center;"></h5>
</div>
</div>

<div class="d-flex flex-row-reverse button-bar">
<div class="d-flex flex-row-reverse button-bar fixed-bottom">
<button
id="launch-button"
type="button"
Expand Down
8 changes: 3 additions & 5 deletions client/web/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -125,22 +125,18 @@ body[data-state="DOCUMENTATION"] #documentation {
}

#usb-arrow {
width: 30%;
position: absolute;
bottom: 6vh;
left: 4vw;
}

body[data-state="WAIT_DESTINATION"] #usb-arrow {
top: 78%;
}

#usb-arrow i {
font-size: 6rem;
animation: bounce 1s ease infinite alternate;
}

#usb-arrow p {
width: 50%;
font-size: 2rem;
text-align: center;
margin-top: -10px;
Expand All @@ -164,6 +160,8 @@ body[data-state="WAIT_DESTINATION"] #usb-arrow p strong {

.button-bar {
margin-top: 1rem;
margin-bottom: 5%;
margin-right: 5%;
}

.list-group-item-text, #key-serial {
Expand Down