Updated search bar to remove location. Will get or ask for user's location. Removed Start Earning button. Works on desktop and mobile
This commit is contained in:
@@ -8,11 +8,6 @@ main {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.navbar-brand i {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
|
||||
.dropdown-toggle::after {
|
||||
display: none;
|
||||
}
|
||||
@@ -21,4 +16,42 @@ main {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
/* Navbar search - centered */
|
||||
.navbar-search {
|
||||
max-width: 500px;
|
||||
margin: 0 auto;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
/* Navbar layout - center search bar */
|
||||
.navbar .container-fluid {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.navbar .navbar-collapse {
|
||||
flex-grow: 0;
|
||||
}
|
||||
|
||||
@media (max-width: 991.98px) {
|
||||
.navbar-search {
|
||||
max-width: none;
|
||||
flex: 1;
|
||||
margin: 0 1rem 0 0;
|
||||
}
|
||||
|
||||
.navbar-search .form-control {
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.navbar .container-fluid {
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user