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

Invalid after style modification #3793

Closed
Tian-YJ opened this issue May 10, 2024 · 6 comments
Closed

Invalid after style modification #3793

Tian-YJ opened this issue May 10, 2024 · 6 comments

Comments

@Tian-YJ
Copy link

Tian-YJ commented May 10, 2024

26431715324659_ pic
26421715324658_ pic

beacuse i used your component,so i hope you can solve the problem

my requirement is the btn and border bg is #333,but Invalid after style modification

@simonguo
Copy link
Member

If you write CSS to override styles, but find that the styles are not taking effect, there are several possible reasons:

  1. It may be due to the priority of CSS selectors. You can try using !important to increase the priority.
  2. It may be that you have messed up the DOM structure, causing the CSS selector to not match the correct element.
  3. It may be due to the development environment you are using that is causing the styles not to be compiled.

To troubleshoot the issue, and to help you understand the changes better, I would like you to fork the following example to reproduce the issue, and then provide a link that can reproduce the issue.
https://stackblitz.com/edit/react-3f6yhh?file=index.js

@Tian-YJ
Copy link
Author

Tian-YJ commented May 12, 2024

1、Based on the problems I have raised, you are entirely free to reproduce them yourself and hopefully get an effective solution
2. The first two solutions you gave me have been tried before I asked, but they didn't work before I asked. Please check the screenshot of the third duplicate link you gave me.
3. My demand is to change the background color of btn to black and select the background color of the date range to black. I hope to get an effective response. Thank you

26451715515276_ pic

@simonguo
Copy link
Member

@simonguo
Copy link
Member

26451715515276_ pic

Please share the link of this example publicly with me.

@Tian-YJ
Copy link
Author

Tian-YJ commented May 13, 2024 via email

@simonguo
Copy link
Member

Okay, then I'll close the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants