Skip to content

Commit 88a0a57

Browse files
committed
chore: inline styles removed
1 parent 913b681 commit 88a0a57

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

elements/pf-search-input/pf-search-input.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,4 +362,11 @@ div.search-icon {
362362
#close-button {
363363
border-bottom: var(--pf-global--spacer--xs, 0.125rem) solid var(--pf-theme--color--accent, #0066cc);
364364
}
365+
}
366+
367+
div.visually-hidden {
368+
width: 0;
369+
height: 0;
370+
padding: 0;
371+
visibility: hidden;
365372
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ export class PfSearchInput extends LitElement {
213213
</path>
214214
</svg>
215215
</pf-button>
216-
<div style="width: 0px; height: 0px; padding: 0px; visibility: hidden;" id="toggle-button"></div>
216+
<div class="visually-hidden" id="toggle-button"></div>
217217
</div>
218218
<div
219219
id="listbox-container"

0 commit comments

Comments
 (0)