Skip to content

Commit

Permalink
fix(filters): Update button to collect children from RoR
Browse files Browse the repository at this point in the history
  • Loading branch information
annelhote committed Apr 3, 2024
1 parent 6b8d063 commit 51eccb2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
2 changes: 0 additions & 2 deletions client/src/components/tag-input/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,14 +156,12 @@ export default function TagInput({
<>
<i className="ri-arrow-go-back-line fr-mr-1w" />
Remove RoR children
{getRoRChildren}
</>
)
: (
<>
<i className="ri-node-tree fr-mr-1w" />
Get children from RoR
{getRoRChildren ? 'oui' : 'non'}
</>
)
}
Expand Down
1 change: 0 additions & 1 deletion client/src/pages/filters.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ export default function Filters({ sendQuery }) {
<Col className="text-right">
<SegmentedControl
id="segSelector"
// isVertical
name="segSelector"
onChange={(e) => setSearchParams({ ...currentSearchParams, view: e.target.value })}
>
Expand Down
14 changes: 7 additions & 7 deletions client/src/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ body {
}

.filters {
animation: fadeInAnimation ease 1s;
animation-fill-mode: forwards;
animation-iteration-count: 1;
background-color: white;
position: sticky;
top: -2px;
z-index: 3;
border-bottom: 2px solid #000;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
border-bottom: 2px solid #000;
animation: fadeInAnimation ease 1s;
animation-iteration-count: 1;
animation-fill-mode: forwards;
position: sticky;
top: -2px;
z-index: 3;
}

// Sticky part
Expand Down

0 comments on commit 51eccb2

Please sign in to comment.