Skip to content
Snippets Groups Projects
Commit 3d486a07 authored by Steinwender, Tamara's avatar Steinwender, Tamara
Browse files

Add button spacing on mobile devices in QR code scanner

parent a9c0b4af
No related branches found
No related tags found
No related merge requests found
Pipeline #13406 passed
...@@ -340,6 +340,12 @@ export class QrCodeScanner extends ScopedElementsMixin(DBPLitElement) { ...@@ -340,6 +340,12 @@ export class QrCodeScanner extends ScopedElementsMixin(DBPLitElement) {
background-position-x: calc(100% - 0.4rem); background-position-x: calc(100% - 0.4rem);
font-size: inherit; font-size: inherit;
} }
#videoSource:hover {
background: calc(100% - 0.4rem) center no-repeat url("https://localhost:8001/dist/local/dbp-common/icons/chevron-down.svg");
color: black;
}
select:not(.select)#videoSource{ select:not(.select)#videoSource{
background-size: auto 45%; background-size: auto 45%;
} }
...@@ -349,6 +355,15 @@ export class QrCodeScanner extends ScopedElementsMixin(DBPLitElement) { ...@@ -349,6 +355,15 @@ export class QrCodeScanner extends ScopedElementsMixin(DBPLitElement) {
padding-top: 2rem; padding-top: 2rem;
border-top: 1px solid black; border-top: 1px solid black;
} }
@media only screen
and (orientation: portrait)
and (max-device-width: 765px) {
.button-wrapper{
display: flex;
justify-content: space-between;
}
}
`; `;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment