Minor css typo in switch-handle
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 75/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- css, react
- Domain
- frontend
Research direction
Inspect src/bootstrap-switch-button-react.js near line 114, starting with the span rendering shown in the issue. Verify the rendered switch-handle class separates btn-light from the size-specific class, and confirm the generated HTML no longer contains btn-lightbtn-sm.
Written by the indexing model from the issue text.
Description
The css class rendered for the switch-handle span has a typo in it:
class="switch-handle btn btn-lightbtn-sm"
This is due to a typo in src/bootstrap-switch-button-react.js near line 114 (in master f206c5bf5b2):
<span className={'switch-handle btn btn-light' + (this.state.size ? 'btn-' + this.state.size : '')} />
I will submit a PR.
- Dominant language
- CSS
- Stars
- 19
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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.
More from gitbrent/bootstrap-switch-button-react
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
gitbrent/bootstrap-switch-button-react#68 · 2 comments · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
gitbrent/bootstrap-switch-button-react#35 · 2 comments · 7 reactions ·
All issues in gitbrent/bootstrap-switch-button-react
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
task
Difficulty 2/5 1-3 hours Newbie friendliness 86/100