Skip to content

Commit 2370be4

Browse files
DiverVMilmartyrk
authored andcommitted
add icon
1 parent 6123a8b commit 2370be4

File tree

3 files changed

+29
-2
lines changed

3 files changed

+29
-2
lines changed

src/app/ideation/components/topic-ideation/topic-ideation.component.html

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@
553553
</ng-container>
554554

555555
<div class="input_area search_input">
556-
<button (click)="showSearch = true">
556+
<button (click)="showSearch = true" class="search_start">
557557
<svg
558558
width="24"
559559
height="24"
@@ -568,6 +568,24 @@
568568
fill="#727C84"
569569
/>
570570
</svg>
571+
572+
<svg
573+
*ngIf="ideaFilters.search && !showSearch"
574+
class="text_exist_icon"
575+
width="16"
576+
height="16"
577+
viewBox="0 0 16 16"
578+
fill="none"
579+
xmlns="http://www.w3.org/2000/svg"
580+
>
581+
<path
582+
_ngcontent-ng-c1765142405=""
583+
fill-rule="evenodd"
584+
clip-rule="evenodd"
585+
d="M8 0C3.584 0 0 3.584 0 8C0 12.416 3.584 16 8 16C12.416 16 16 12.416 16 8C16 3.584 12.416 0 8 0ZM6.44444 12L12.6667 5.82456L11.5 4.66667L6.44444 9.68421L4.5 7.75439L3.33333 8.91228L6.44444 12Z"
586+
fill="#2c3b47"
587+
></path>
588+
</svg>
571589
</button>
572590

573591
<ng-container *ngIf="showSearch">

src/app/ideation/components/topic-ideation/topic-ideation.component.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,15 @@
251251
button {
252252
padding: 0;
253253
}
254+
255+
.text_exist_icon {
256+
position: absolute;
257+
z-index: 1;
258+
top: -4px;
259+
right: -4px;
260+
border: 2px solid #fff;
261+
border-radius: 50%;
262+
}
254263
}
255264
}
256265
}

src/app/ideation/components/topic-ideation/topic-ideation.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export class TopicIdeationComponent {
6464
mobileIdeaFiltersList = false;
6565

6666
mobileIdeaFilters: any = {
67-
age: <string[]>[],
67+
age: '',
6868
gender: '',
6969
residence: '',
7070
type: '',

0 commit comments

Comments
 (0)