Skip to content

Commit

Permalink
DBC22-2071: Fix for swap button position on mobile landscape
Browse files Browse the repository at this point in the history
  • Loading branch information
minORC authored and ray-oxd committed May 29, 2024
1 parent 23a6ea8 commit 3274a57
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions src/frontend/src/Components/advisories/AdvisoriesOnMap.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,6 @@
width: fit-content;
}

@media (orientation: landscape) and (max-width: 767px) {
top: 1rem;

.btn.advisories-on-map__btn {
position: absolute;
right: 1rem;
}
}

.btn.advisories-on-map__btn {
background: #FAF9F8;
width: fit-content;
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/src/Components/map/Map.scss
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@

.routing-outer-container {
@media (orientation: landscape) and (max-width: 767px) {
width: calc(340px + 1rem);
width: fit-content;
}
}

Expand Down

0 comments on commit 3274a57

Please sign in to comment.