Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double space in search placeholder text #104

Open
samir-dahal opened this issue Dec 22, 2024 · 0 comments
Open

Double space in search placeholder text #104

samir-dahal opened this issue Dec 22, 2024 · 0 comments

Comments

@samir-dahal
Copy link

Hi there!
I noticed a very simple logic issue.
image

Current placeholder text logic results in creating extra white space character
Which displays: Search millions of links in ‎ open directories...

:placeholder="`Search ${stats.totalIndexed || `millions of`} links${isLandscape ? ` in ${stats.aliveODs || ``} open directories` : ``}...`"

Proposed logic
This should prevent the extra white space between "in" and "open"
Which displays: Search millions of links in open directories...

:placeholder="`Search ${stats.totalIndexed || `millions of`} links${isLandscape && stats.aliveODs ? ` in ${stats.aliveODs} open directories` : ``}...`"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant