gbowne1 / gbowne1/codebooker

[BUG] Minor Search bar CSS issue

Open
#148 10 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
JavaScript
Stars
35
Forks
54
PR merge metrics
No merged PRs in 30d

Description

In the browser console, I am getting Expected declaration but found ‘&’. Skipped to next declaration. [localhost:3000:19:5](http://localhost:3000/)
Elements matching selector: .search-input
NodeList [ input.search-input
]

0:

I couldn't figure out where the `&` was located, easily but it actually may be describing this portion of BookSearch.css:

```css
.search-input {
width: 300px;
padding: 0.563rem;
font-size: 0.875rem;
border: none;
border-radius: 0.5rem;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
margin-right: 10px;
letter-spacing: 0.5px;

&:focus,
&:active,
&:hover {
box-shadow: 2px 4px 16px rgba(28, 32, 36, 0.6);
}
}
```

I am not certain how to fix this, but it's a minor issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.