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

Common Issue #2 - Shadow coming as a squarish bounded box #2

Open
prakhart111 opened this issue Dec 26, 2023 · 1 comment
Open

Common Issue #2 - Shadow coming as a squarish bounded box #2

prakhart111 opened this issue Dec 26, 2023 · 1 comment
Labels

Comments

@prakhart111
Copy link
Contributor

prakhart111 commented Dec 26, 2023

This is another common issue.

If you look at the Bee's bounding box closely enough, you can see that there's a boxy squarish shadow coming over which wasn't in the original design.

Design Screenshot

Output Screenshot

Design File link : <>

Output CodeSandBox Link: https://codesandbox.io/embed/g7rc5d?fontsize=14&hidenavigation=1&theme=dark

@prakhart111
Copy link
Contributor Author

We use box-shadow for the generated code. So, if you need to add a non-boxed shadow, you can do that with filter: drop-shadow() property. You can check out the steps to do that here. We're not using this currently because of browser compatibility issues and no support for spread and inset shadows. We'll be adding support for this in the future.

@brocode101 brocode101 changed the title Common issue2: Shadow is coming as a box only? Common Issue #2: Shadow coming as a squarish bounded box Dec 28, 2023
@brocode101 brocode101 changed the title Common Issue #2: Shadow coming as a squarish bounded box Common Issue #2 - Shadow coming as a squarish bounded box Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant