Replace CSS class with data-testid
This commit is contained in:
parent
dba72d5968
commit
95a8aab690
2 changed files with 3 additions and 2 deletions
|
@ -27,7 +27,7 @@ body .root .content.theme {
|
|||
}
|
||||
|
||||
@media(hover: none) {
|
||||
.right-arrow, .surah-index-filter {
|
||||
.right-arrow, input[data-testid="SurahIndex/Filter"] {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,7 +27,8 @@ export function Filter({ locale, t, setIndex, surahs }: Props) {
|
|||
|
||||
return (
|
||||
<input
|
||||
className="p-3 h-2 text-base color-primary rounded outline-0 surah-index-filter"
|
||||
data-testid="SurahIndex/Filter"
|
||||
className="p-3 h-2 text-base color-primary rounded outline-0"
|
||||
type="text"
|
||||
placeholder={t(locale, "filter")}
|
||||
onChange={onInput}
|
||||
|
|
Loading…
Reference in a new issue