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

Send button not properly aligned #31

Open
rampatra opened this issue Mar 8, 2024 · 2 comments
Open

Send button not properly aligned #31

rampatra opened this issue Mar 8, 2024 · 2 comments

Comments

@rampatra
Copy link

rampatra commented Mar 8, 2024

CleanShot 2024-03-08 at 16 07 45@2x
The send button is not centered properly as shown in the above picture.

System details

Browser: Version 1.62.162 Chromium: 121.0.6167.164 (Official Build) (arm64)
macOS: Sonoma 14.0 MacBook M2

@rampatra
Copy link
Author

rampatra commented Mar 9, 2024

I think this is because the css of this widget are clashing with tailwindcss or something. This is because I do not see this issue in your demo. Will look more into it.

@rampatra
Copy link
Author

rampatra commented Mar 9, 2024

Thinking out loud here but we can resolve this in a couple of ways:

  • Add !important to all css styles you have defined.
  • Provide override ability for all the elements like you have for the main div and main whatsapp button.
  • Wrap your React component in a secluded style context to prevent such a clash.

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

1 participant