j40-cejst-2/client/src/components/MapSearch/MapSearch.module.scss
Vim USDS 40e7b80f27 Align Geolocate icon and Search
- align geolocate and search according to mock for desktop and mobile
2022-08-01 23:40:59 -07:00

27 lines
526 B
SCSS

@use '../../styles/design-system.scss' as *;
.mapSearchContainer {
/**
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%;
}
}