codebooker icon indicating copy to clipboard operation
codebooker copied to clipboard

[BUG] Minor Search bar CSS issue

Open gbowne1 opened this issue 2 years ago • 10 comments

In the browser console, I am getting Expected declaration but found ‘&’. Skipped to next declaration. localhost:3000:19:5 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:

.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.

gbowne1 avatar Aug 27 '23 23:08 gbowne1

Hii @gbowne1 I am not getting such errors🥴 image

LOGESH-B avatar Aug 28 '23 04:08 LOGESH-B

6th console line down.. Screenshot_2023-08-27_21-09-18

gbowne1 avatar Aug 28 '23 04:08 gbowne1

I do get the same MUI errors though

gbowne1 avatar Aug 28 '23 04:08 gbowne1

I can't get any warnings in console of any browser, but in styling i got warning symbol,its showing to you may be because of using React dev tools image image image

LOGESH-B avatar Aug 28 '23 04:08 LOGESH-B

I don't always use React Dev Tools. It could very well be a browser issue. Some browsers I know don't like using &

gbowne1 avatar Aug 28 '23 04:08 gbowne1

@BlackBond06 can you tell if this issue still exists?

gbowne1 avatar Oct 16 '23 06:10 gbowne1

@gbowne1 I did not get this error in the console for the home page using Chrome and Microsoft Edge. Is there any other way to check for this error ?

BlackBond06 avatar Oct 16 '23 08:10 BlackBond06

There is also a UI/UX designer that wants to contribute but he is experiencing difficulty setting up the backend of the project. I think we really need to have a clear and easy-to-understand documentation on setting up the backend of the project.

BlackBond06 avatar Oct 16 '23 09:10 BlackBond06

@BlackBond06 I haven't got this error in a while.

If it's not in Firefox or Chrome anymore I think it's safe and ok to cancel this. I do not have access to Edge so I don't know about that. Maybe try the Chromium browser since that's what its based on these days.

Let me know and we can cancel this issue.

gbowne1 avatar Oct 16 '23 17:10 gbowne1

I also agree about the documentation

gbowne1 avatar Oct 16 '23 17:10 gbowne1