mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-29 01:01:40 -07:00
Align Geolocate icon and Search
- align geolocate and search according to mock for desktop and mobile
This commit is contained in:
parent
9f2fe1a810
commit
40e7b80f27
3 changed files with 30 additions and 38 deletions
|
@ -1,12 +1,27 @@
|
|||
@use '../../styles/design-system.scss' as *;
|
||||
|
||||
.mapSearchContainer {
|
||||
/*
|
||||
The width of the container is being limited so that
|
||||
as the device width decreases, the geolocation
|
||||
button has enough space between the Search
|
||||
component
|
||||
*/
|
||||
width: 71%;
|
||||
/**
|
||||
Various breakpoint are being used to allow a consistent ratio
|
||||
of screen width between the search component and the geolocation
|
||||
component across all device sizes.
|
||||
*/
|
||||
|
||||
// width < 660
|
||||
@include at-media-max("tablet") {
|
||||
flex: 1 1 100%;
|
||||
}
|
||||
|
||||
// 660 < width < 1024
|
||||
@include at-media-max("desktop") {
|
||||
@include at-media("tablet"){
|
||||
flex: 1 1 56%;
|
||||
}
|
||||
}
|
||||
|
||||
// > 1024
|
||||
@include at-media("desktop") {
|
||||
flex: 1 1 72%;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue