Merge pull request 'fix/search-issue-45' (#46) from fix/search-issue-45 into develop

Reviewed-on: #46
This commit is contained in:
jorge 2021-11-19 16:59:59 +01:00
commit efa9584e9c
2 changed files with 70 additions and 67 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,25 +1,6 @@
// .hero{
.search{
@include xy-grid();
// display: flex;
// flex-direction: column;
// align-items: center;
// search elements
.search{
.input-group {
@include breakpoint(small){
@include xy-cell (12);
margin-left: auto;
margin-right: auto;
}
@include breakpoint(medium){
@include xy-cell (6);
margin-left: auto;
margin-right: auto;
}
@include breakpoint(large){
@include xy-cell (4);
margin-left: auto;
margin-right: auto;
}
position: relative;
border-radius: 4rem;
overflow: hidden;
@ -82,5 +63,27 @@
background-color: scale-color($primary-color, $lightness: 85%);
}
}
}
//search block size in content
article,.omekas-entry-content {
.search{
@include xy-grid();
.input-group {
@include breakpoint(small){
@include xy-cell (12);
margin-left: auto;
margin-right: auto;
}
// } //end .hero
@include breakpoint(medium){
@include xy-cell (6);
margin-left: auto;
margin-right: auto;
}
@include breakpoint(large){
@include xy-cell (4);
margin-left: auto;
margin-right: auto;
}
}
}
}