Skip to content

Commit

Permalink
Bug fixes for sort dropdown, help guide button and next buttons. (#1961)
Browse files Browse the repository at this point in the history
  • Loading branch information
chth0n1x authored Aug 23, 2023
1 parent 6a6bf0b commit 23d9714
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions lib/osf-components/addon/components/search-page/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ body {
margin-left: 0;
position: absolute;
right: 0.1rem;
margin-right: -5px;
}
}
}
Expand Down Expand Up @@ -225,6 +226,7 @@ body {

.enumeration {
float: left;
white-space: nowrap;
}

h2 {
Expand All @@ -236,7 +238,7 @@ body {

p {
white-space: normal;
margin: 25px 5px 20px;
margin: 25px 5px 0;
}

.skip-button {
Expand All @@ -248,13 +250,15 @@ body {
display: flex;
justify-content: space-between;
align-items: baseline;
margin-bottom: 0.5rem;
}

.help-button-wrapper {
display: flex;
justify-content: flex-end;
padding: 0;

button:first-of-type {
.skip-button {
margin-right: 20px;
}
}
Expand All @@ -275,8 +279,7 @@ body {

.sort-dropdown {
background-color: $color-bg-gray-blue-light;
display: flex;
align-items: flex-end;
align-self: flex-end;
padding-bottom: 10px;
margin-left: 10px;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ as |layout|>
<p data-test-help-body-3>{{t 'search.search-help.body-3' htmlSafe=true}}</p>
<span local-class='pagination'>
<p local-class='enumeration' data-test-help-enumeration-3>{{t 'search.search-help.index-3'}}</p>
<span local-class='help-button-wrappers'>
<span local-class='help-button-wrapper'>
<Button
data-test-help-done
data-analytics-name='Complete help'
Expand Down

0 comments on commit 23d9714

Please sign in to comment.