Skip to content

Commit

Permalink
refactor(Assistant): Move SuggestionsPlaceholder in right folder
Browse files Browse the repository at this point in the history
  • Loading branch information
JF-Cozy committed Oct 21, 2024
1 parent d36ea2d commit 47cc16c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
5 changes: 0 additions & 5 deletions src/assistant/Conversations/styles.styl
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,3 @@

+gt-mobile()
max-height 155px

.suggestionsPlaceholder
position absolute
opacity 0.42
pointer-events none
2 changes: 1 addition & 1 deletion src/assistant/Search/SearchBarMobile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React, { useRef } from 'react'
import SearchBar from 'cozy-ui/transpiled/react/SearchBar'
import useEventListener from 'cozy-ui/transpiled/react/hooks/useEventListener'

import SuggestionsPlaceholder from '../Conversations/SuggestionsPlaceholder'
import SuggestionsPlaceholder from './SuggestionsPlaceholder'

import styles from '../Conversations/styles.styl'

Expand Down
5 changes: 5 additions & 0 deletions src/assistant/Search/styles.styl
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
.searchBarDesktop--result
border-radius 28px 28px 0 0 !important

.suggestionsPlaceholder
position absolute
opacity 0.42
pointer-events none

0 comments on commit 47cc16c

Please sign in to comment.