mobile fixes
This commit is contained in:
parent
95012afbb2
commit
63fc64eb70
@ -6,7 +6,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
{% include "layout_templates/searchbox.html" %}
|
{% include "layout_templates/searchbox.html" %}
|
||||||
<div class="d-none d-md-flex">
|
<div class="d-none d-lg-flex">
|
||||||
{#{% if alternate_languages %}#}
|
{#{% if alternate_languages %}#}
|
||||||
{% include "layout_templates/language_switcher.html" %}
|
{% include "layout_templates/language_switcher.html" %}
|
||||||
{#{% endif %}#}
|
{#{% endif %}#}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<div id="searchbox" class="d-flex flex-grow-1 justify-content-end justify-content-md-start" role="search">
|
<div id="searchbox" class="d-flex flex-grow-1 justify-content-end justify-content-lg-start" role="search">
|
||||||
<form class="o_search" action="{{ pathto('search') }}" method="get">
|
<form class="o_search" action="{{ pathto('search') }}" method="get">
|
||||||
<input type="text" name="q" id="q" class="form-control rounded-pill" placeholder="What are you looking for?">
|
<input type="text" name="q" id="q" class="form-control rounded-pill" placeholder="What are you looking for?">
|
||||||
<input type="hidden" name="area" value="default">
|
<input type="hidden" name="area" value="default">
|
||||||
|
@ -38,12 +38,11 @@ header.o_main_header{
|
|||||||
right: 0;
|
right: 0;
|
||||||
background-color: $o-header-white;
|
background-color: $o-header-white;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
padding-right: 3rem;
|
|
||||||
.o_logo_wrapper {
|
|
||||||
@include media-breakpoint-up(lg) {
|
@include media-breakpoint-up(lg) {
|
||||||
width: $o-side-nav-width;
|
padding-right: 3rem;
|
||||||
padding-left: 3rem;
|
}
|
||||||
margin-right: 3rem;
|
.o_logo_wrapper {
|
||||||
|
padding: 0 1rem;
|
||||||
> .o_logo {
|
> .o_logo {
|
||||||
img {
|
img {
|
||||||
margin-bottom: -2px;
|
margin-bottom: -2px;
|
||||||
@ -54,6 +53,12 @@ header.o_main_header{
|
|||||||
color: $o-violet;
|
color: $o-violet;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@include media-breakpoint-up(xl) {
|
||||||
|
width: $o-side-nav-width;
|
||||||
|
}
|
||||||
|
@include media-breakpoint-up(lg) {
|
||||||
|
padding-left: 3rem;
|
||||||
|
margin-right: 3rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.o_search {
|
.o_search {
|
||||||
@ -283,6 +288,11 @@ header.o_main_header{
|
|||||||
margin-top: $o-header-height;
|
margin-top: $o-header-height;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
padding: 0 1rem;
|
||||||
|
|
||||||
|
@include media-breakpoint-up(lg) {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
main {
|
main {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
Loading…
Reference in New Issue
Block a user