mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-28 12:43:11 +10:00
Use globally configured autocomplete predictions padding
The padding is set for the "Powered by Google" attribution, but that might not be present e.g. with Mapbox.
This commit is contained in:
parent
f92c3bdeb2
commit
2d092a4543
5 changed files with 9 additions and 5 deletions
|
|
@ -68,7 +68,7 @@ size and position, etc.
|
|||
.predictionsRoot {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
padding-bottom: 72px;
|
||||
padding-bottom: var(--locationAutocompleteBottomPadding);
|
||||
top: var(--LocationAutocompleteInput_inputHeight);
|
||||
left: 0;
|
||||
background-color: var(--marketplaceColor);
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@
|
|||
.predictionsRoot {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
padding-bottom: 98px;
|
||||
padding-bottom: var(--locationAutocompleteBottomPadding);
|
||||
top: 36px;
|
||||
left: 0;
|
||||
background-color: var(--marketplaceColor);
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@
|
|||
.searchPredictions {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
padding-bottom: 72px;
|
||||
padding-bottom: var(--locationAutocompleteBottomPadding);
|
||||
top: 50px;
|
||||
left: 0;
|
||||
background-color: var(--marketplaceColor);
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@
|
|||
left: 0;
|
||||
min-height: calc(100vh - var(--TopbarSearchForm_mobilePredictionTop));
|
||||
width: 100%;
|
||||
padding-bottom: 72px;
|
||||
padding-bottom: var(--locationAutocompleteBottomPadding);
|
||||
background-color: var(--marketplaceColor);
|
||||
border-bottom-left-radius: var(--borderRadius);
|
||||
border-bottom-right-radius: var(--borderRadius);
|
||||
|
|
@ -143,7 +143,7 @@
|
|||
.desktopPredictions {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
padding-bottom: 72px;
|
||||
padding-bottom: var(--locationAutocompleteBottomPadding);
|
||||
top: 50px;
|
||||
left: 0;
|
||||
background-color: var(--marketplaceColor);
|
||||
|
|
|
|||
|
|
@ -116,6 +116,10 @@
|
|||
--modalPadding: 24px 24px 48px 24px;
|
||||
--modalPaddingMedium: 55px 60px 55px 60px;
|
||||
|
||||
/* ================ LocationAutocompleteInput bottom attribution padding ================ */
|
||||
|
||||
--locationAutocompleteBottomPadding: 72px;
|
||||
|
||||
/* ================ Clearfix solution ================ */
|
||||
|
||||
--clearfix {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue