Skip to content

Commit

Permalink
cleaner discover filters display
Browse files Browse the repository at this point in the history
  • Loading branch information
jessopb committed Dec 3, 2021
1 parent 5fed2d0 commit 0c1b681
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion ui/component/claimListHeader/view.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ function ClaimListHeader(props: Props) {
</div>
{expanded && (
<>
<div className={classnames(`card claim-search__menus`)}>
<div className={classnames(`claim-search__menus`)}>
{/* FRESHNESS FIELD */}
{orderParam === CS.ORDER_BY_TOP && (
<div className="claim-search__input-container">
Expand Down
14 changes: 6 additions & 8 deletions ui/scss/component/_claim-search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
justify-content: flex-start;
align-items: center;
padding: var(--spacing-m);
padding-bottom: var(--spacing-s);
padding-left: 0;
padding-bottom: 0;
margin-top: var(--spacing-m);
margin-bottom: var(--spacing-m);
color: var(--color-text-subtitle);
Expand Down Expand Up @@ -41,17 +42,14 @@
flex-direction: column;
font-size: var(--font-body);
width: 100%;

&:not(:first-of-type) {
margin-top: var(--spacing-s);
}
margin-bottom: var(--spacing-m);

@media (min-width: $breakpoint-small) {
width: auto;
margin-top: 0;

&:not(:first-of-type) {
margin-top: 0;
padding-left: var(--spacing-m);
&:not(:last-of-type) {
padding-right: var(--spacing-m);
}
}
}
Expand Down

0 comments on commit 0c1b681

Please sign in to comment.