10000 Replace inline styles with tailwind classes by fastjames · Pull Request #117 · oban-bg/oban_web · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Replace inline styles with tailwind classes #117

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

Merged
merged 2 commits into from
Apr 9, 2025

Conversation

fastjames
Copy link
Contributor

In order to reduce the number of content security policy errors observed in the browser console, replace non-nonced inline styles with their equivalent tailwind classes.

I don't have an oban pro key so I can't run the test suite locally, but in both cases the tailwind style seems like a near-perfect replacement for the original code.

In order to avoid browser warnings about inline styles, replace the
inline drop shadow style with a very close tailwind class.
Move the inline style to a tailwind class for consistency.
@fastjames fastjames mentioned this pull request Apr 9, 2025
@sorentwo sorentwo merged commit 0c26a00 into oban-bg:main Apr 9, 2025
0 of 2 checks passed
@sorentwo
Copy link
Member
sorentwo commented Apr 9, 2025

Thanks for these fixes! (Tested locally. I forgot that the secret isn't shared in CI for pull requests)

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

Successfully merging this pull request may close these issues.

2 participants
0