Skip to content

Commit

Permalink
Merge pull request #5618 from afwillia/SWC-7165
Browse files Browse the repository at this point in the history
SWC-7165 - Widen Show more results button on project mobile page
  • Loading branch information
afwillia authored Jan 27, 2025
2 parents 2c059c2 + 456b859 commit 9c1eabc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
<bh:Div marginBottom="5" width="100%">
<bh:Div ui:field="container" />
<bh:ClearFix />
<b:Button ui:field="loadMoreButton" text="Show more results" />
<b:Button
ui:field="loadMoreButton"
text="Show more results"
addStyleNames="btn-default-wide"
/>
<w:LoadingSpinner
ui:field="loadMoreImage"
size="31px"
Expand Down
6 changes: 6 additions & 0 deletions src/main/webapp/sass/_core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,12 @@ end sticky footer
color: $synapse-dark-text;
}

@media (max-width: 768px) {
.btn-default-wide {
width: 100%;
}
}

.btn {
@include border-radius(2px);
font-weight: bold;
Expand Down

0 comments on commit 9c1eabc

Please sign in to comment.