Skip to content

Commit

Permalink
Refs #140518 - Expand full width page for search, but keep search res…
Browse files Browse the repository at this point in the history
…ults at a maximum width.
  • Loading branch information
GhitaB committed Nov 15, 2021
1 parent 423998a commit fa4c452
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/SearchBlock/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ body.searchlib-page {
div#page-document {
position: relative;
top: -4em;
width: 100vw !important;
padding-top: 0px !important;
margin-top: 0px !important;
}
Expand Down Expand Up @@ -612,7 +613,7 @@ div#page-document {
}

div.above-results {
display: initial;
display: block;
margin-bottom: 10px;

div.view-selector {
Expand Down Expand Up @@ -729,6 +730,11 @@ div#page-document {

div.search-result {
overflow: auto;
width: 100%;
max-width: 1000px;
padding-bottom: 5px;
margin-top: 5px;
clear: both;

&:hover {
div.controls {
Expand All @@ -742,11 +748,6 @@ div#page-document {
}
}

width: 100%;
padding-bottom: 5px;
margin-top: 5px;
clear: both;

button.mlt {
position: relative;
top: -1px;
Expand Down

0 comments on commit fa4c452

Please sign in to comment.