Skip to content

Commit 0d919c0

Browse files
committed
chore: search icon fix
1 parent 95431ac commit 0d919c0

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

elements/pf-search-input/pf-search-input.ts

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -174,19 +174,11 @@ export class PfSearchInput extends LitElement {
174174
>
175175
<div id="toggle">
176176
<div class="search-icon">
177-
<svg fill="currentColor" height="1em" width="1em" viewBox="0 0 512 512">
178-
<path d="M256.233,5.756c-71.07,15.793-141.44,
179-
87.863-155.834,159.233c-11.495,57.076,0.3,111.153,
180-
27.688,154.335L6.339,441.172c-8.596,8.596-8.596,
181-
22.391,0,30.987l33.286,33.286c8.596,8.596,22.391,
182-
8.596,30.987,0L192.26,383.796c43.282,
183-
27.688,97.559,39.683,154.734,28.188c79.167-15.893,142.04-77.067,
184-
159.632-155.934C540.212,104.314,407.968-27.93,256.233,
185-
5.756z M435.857,208.37c0,72.869-59.075,131.944-131.944,131.944
186-
S171.969,281.239,171.969,208.37S231.043,76.426,303.913,
187-
76.426S435.857,135.501,435.857,208.37z">
188-
</path>
189-
</svg>
177+
<svg class="pf-v5-svg" viewBox="0 0 512 512" fill="currentColor" aria-hidden="true"
178+
role="img" width="1em" height="1em"><path d="M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3
179+
44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0
180+
6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7
181+
0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"></path></svg>
190182
</div>
191183
<input
192184
id="toggle-input"

0 commit comments

Comments
 (0)