Skip to content

Commit

Permalink
Merge pull request #1052 from aholachek/responsive-fixes
Browse files Browse the repository at this point in the history
fixed 2 responsive issues
  • Loading branch information
aholachek authored Aug 8, 2016
2 parents 3652a54 + 0041de4 commit c7d89ad
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/js/mixins/api_access.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ define([



});
});
4 changes: 2 additions & 2 deletions src/js/page_managers/templates/results-page-layout.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div id="results-page-layout" class="s-results-page-layout">
<div class="row s-stable-search-bar-height">
<div class="s-search-bar-full-width-container">
<div class="col-sm-7 col-md-7 col-sm-offset-2 s-search-bar-row" id="search-bar-row"
<div class="col-sm-10 col-md-8 col-lg-7 col-sm-offset-2 s-search-bar-row" id="search-bar-row"
data-widget="SearchWidget">
</div>
</div>
Expand Down Expand Up @@ -53,4 +53,4 @@ <h2 class="sr-only">Additional Functionality (Information about your query, and

</div>
</div>
</div>
</div>
18 changes: 12 additions & 6 deletions src/styles/sass/ads-sass/search-bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
width: 100%;
height: 60px;
padding-top: 10px;

//hide citation count if it's there
.search-bar__citation-count {
display: none;
}

}


Expand Down Expand Up @@ -114,12 +120,12 @@
#field-options {
position: relative;
left: 1.5%;
visibility: hidden;

@media screen and (min-width:$screen-sm-min) {
visibility: visible;
}
overflow: hidden;
max-height: 37px;
}

#results-page-layout #field-options {
max-height: 32px;
}

.s-field-options {
Expand Down Expand Up @@ -245,7 +251,7 @@ input.q {
}

#option-dropdown-container .select2 {
min-width : 200px;
min-width : 180px;
width: 25%;
}

Expand Down

0 comments on commit c7d89ad

Please sign in to comment.