Skip to content

Commit

Permalink
Fix search bar text visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
lesleyjanenorton committed Sep 26, 2024
1 parent d77163d commit 68502f7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/serverlist.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export class ServerList extends LitElement {
return html`
<input
type="text"
class="search text-light"
class="search"
placeholder="${tr("searchServer")}"
${ref(this.filterInput)}
@change=${() => this.requestUpdate()}
Expand Down Expand Up @@ -322,14 +322,18 @@ export class ServerList extends LitElement {
input.search {
margin-block: 16px;
padding: 10px 20px 10px 32px;
color: var(--text-color-invert);
width: calc(max(50%, 312px));
background-image: url("../../assets/img/search-icon.svg");
background-position: 5px 6px;
background-repeat: no-repeat;
border: 1px solid var(--input-border);
border-radius: var(--button-border-radius);
font-size: 14px;
color: var(--grey40);
}
input.search::placeholder {
opacity: 1;
}
`;
}
Expand Down

0 comments on commit 68502f7

Please sign in to comment.