make comment search bar color change based on theme

This commit is contained in:
gmnsii 2023-05-31 19:39:18 +02:00
parent ca7ad9f812
commit 38ee0d9428
2 changed files with 5 additions and 1 deletions

View file

@ -552,6 +552,10 @@ select, #search {
border-radius: 5px 0px 0px 5px;
}
.commentQuery {
background: var(--post);
}
#searchbox {
grid-area: searchbox;
display: flex;

View file

@ -59,7 +59,7 @@
</form>
<!-- SEARCH FORM -->
<form id="sort">
<input id="search" type="search" name="q" value="{{ comment_query }}" placeholder="Search comments">
<input id="search" class="commentQuery" type="search" name="q" value="{{ comment_query }}" placeholder="Search comments">
<input type="hidden" name="type" value="comment">
</form>
</div>