fix/search-issue-45 #46

Merged
jorge merged 2 commits from fix/search-issue-45 into develop 2021-11-19 17:00:00 +01:00
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;
}
}
}
}