codesandbox / codesandbox/codesandbox-client
Open Sandbox button has a strange white border
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 13.6k
- Forks
- 2.4k
- Avg merge
- 6d 19h
- Merged PRs (30d)
- 2
Description
🐛 bug report
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project
adheres to. - I have searched the issue tracker for an issue that matches the one I want
to file, without success.
Description of the problem
The "Open Sandbox" button has a strange white border, which makes the visual effect of our favorite perfect project looks bad in dark mode.
To Reproduce
Use the CSS below then preview Sandbox in new tab:
:root {
color-scheme: dark;
background-color: #1e1e1e;
}
Link to sandbox: open-sandbox-button-dark-mode-issue
Your Environment
| Software | Name/Version |
|---|---|
| Сodesandbox | 0.0.318 |
| Browser | Arc |
| Operating System | macOS |
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked open-sandbox-button-dark-mode-issue sandbox and reproduce the problem in a new tab using the provided dark-mode CSS. Then trace the Open Sandbox button styling in the client UI. Done means the white border is absent in dark mode while the button remains visually correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100