-
Notifications
You must be signed in to change notification settings - Fork 303
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEQ] / Ameerul / FEQ-1401 Search the adverts list by nickname (#13569)
* feat: added sort dropdown/button for buy/sell list * chore: added suggestions * feat: added search by nickname * chore: added empty state to Table
- Loading branch information
1 parent
89d0245
commit 213b5c4
Showing
10 changed files
with
122 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,29 @@ | ||
.p2p-v2-search { | ||
border-radius: 4px; | ||
width: 100%; | ||
font-size: 1.4rem; | ||
line-height: 2rem; | ||
|
||
.p2p-v2-input { | ||
margin: 0; | ||
justify-content: flex-start; | ||
position: relative; | ||
align-items: center; | ||
.deriv-input { | ||
padding: 6px 8px; | ||
font-size: 1.4rem; | ||
|
||
&__container { | ||
width: 100%; | ||
} | ||
|
||
&__field { | ||
padding-left: 4.8rem; | ||
margin-left: 0.8rem; | ||
|
||
&:not(:placeholder-shown) ~ label, | ||
&:focus ~ label { | ||
display: none; | ||
} | ||
} | ||
|
||
&__helper-message { | ||
display: none; | ||
} | ||
|
||
@include mobile { | ||
justify-content: center; | ||
align-items: unset; | ||
&__label { | ||
left: 3rem; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
packages/p2p-v2/src/pages/buy-sell/components/SortDropdown/SortDropdown.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.p2p-v2-sort-dropdown { | ||
.deriv-dropdown__items { | ||
top: 4.4rem; | ||
} | ||
|
||
.deriv-input { | ||
&__field { | ||
font-size: 14px; | ||
|
||
&:not(:placeholder-shown) ~ label { | ||
transform: translate(-29%, -50%); | ||
} | ||
} | ||
|
||
&__helper-message { | ||
display: none; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters