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

Searchbar placeholder style is becoming distorted. #909

Closed
3 tasks done
otabekoff opened this issue Jul 3, 2022 · 1 comment · Fixed by #986
Closed
3 tasks done

Searchbar placeholder style is becoming distorted. #909

otabekoff opened this issue Jul 3, 2022 · 1 comment · Fixed by #986
Labels
bug Something isn't working theme Related to the theme

Comments

@otabekoff
Copy link
Contributor

Describe the bug

image

Look this. How bad is this? Ctrl+K placeholder is becoming ugly.

When I see its code. It was an SVG code. When I refresh and then see there was no any SVG code.

Reproduction

Changing some styles and doing fixes.

Expected behavior

image

It should look like this.

System Info

System:
    OS: Windows 10 10.0.22621 | Note: this is wrong. I use Windows 11.
    CPU: (12) x64 Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz
    Memory: 7.50 GB / 15.90 GB
  Binaries:
    Node: 16.14.2 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.18 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 8.5.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22621.160.0), Chromium (103.0.1264.44)
    Internet Explorer: 11.0.22621.1

Note: I don't believe this `envinfo` tool. Some of the above information may be incorrect.

Additional context

No response

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
@otabekoff otabekoff added the bug: pending triage Maybe a bug, waiting for confirmation label Jul 3, 2022
@brc-dd brc-dd added bug Something isn't working theme Related to the theme and removed bug: pending triage Maybe a bug, waiting for confirmation labels Jul 8, 2022
@brc-dd
Copy link
Member

brc-dd commented Jul 8, 2022

Yeah we are aware of this (from much before alpha release IG). We tried fixing it, but docsearch/js keeps modifying the DOM. If you have any fix, then PRs are welcome.

Also, version of Windows 11 is 10 only (anything above build 22000 is considered 11, but internally its 10). That tool has reported it correctly.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working theme Related to the theme
Projects
None yet
2 participants