Skip to content

Commit c2c534b

Browse files
Merge pull request #89 from Sybit-Education/fix/filter-color-not-matching
Filter same color as search icon fix
2 parents 0bb856a + a05eaf8 commit c2c534b

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

src/app/components/filter/filter.component.html

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
<button type="button" class="position" data-bs-toggle="modal" data-bs-target="#exampleModal">
2-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" class="bi bi-funnel"
3-
viewBox="0 0 16 16">
4-
<path d="M1.5 1.5A.5.5 0 0 1 2 1h12a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.128.334L10 8.692V13.5a.5.5 0 0 1-.342.474l-3 1A.5.5 0 0 1 6 14.5V8.692L1.628 3.834A.5.5 0 0 1 1.5 3.5zm1 .5v1.308l4.372 4.858A.5.5 0 0 1 7 8.5v5.306l2-.666V8.5a.5.5 0 0 1 .128-.334L13.5 3.308V2z"/>
5-
</svg>
6-
</button>
1+
<div class="-translate-y-0.5">
2+
<i data-bs-toggle="modal" data-bs-target="#exampleModal" class="bi bi-funnel w-[50px] h-full text-center text-gray-400 group-hover:text-black transition-all ease-in pl-2 border-l border-solid -mr-1 border-gray-400 cursor-pointer"></i>
3+
</div>
74
<div class="modal fade z-50" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
85
<div class="modal-dialog">
96
<div class="modal-content">

src/app/components/navbar/navbar.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</a>
66
</div>
77
<div
8-
class="flex flex-row w-11/12 min-h-[40px] max-w-[800px] ml-2 mr-2 group bg-blue-100 rounded-full mt-1 mb-1 justify-start text-[#000] items-center">
8+
class="flex flex-row w-11/12 min-h-[40px] max-w-[800px] ml-2 mr-2 group bg-blue-100 rounded-full mt-1 mb-1 justify-center text-[#000] items-center">
99
<i class="bi bi-search w-[50px] text-center text-gray-400 group-hover:text-black group-active:text-black transition-all ease-in"></i>
1010
<input
1111
autocomplete="off"
@@ -16,7 +16,7 @@
1616
(input)="onSearch()"
1717
(keydown)="onEnterKey($event)"
1818
/>
19-
<app-home-filter></app-home-filter>
19+
<app-home-filter></app-home-filter>
2020
</div>
2121
@if ( !isMapUrl) {
2222
<button routerLink="/map" class="btn hide-on-mobile rounded-full"><i class="bi bi-map"></i></button>

0 commit comments

Comments
 (0)