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

Styles with wrapper class #755

Closed
janu1428 opened this issue May 24, 2022 · 1 comment
Closed

Styles with wrapper class #755

janu1428 opened this issue May 24, 2022 · 1 comment

Comments

@janu1428
Copy link

Hi,

I see there are more styles and few text fields which are hardcoded and not given option to overwrite.
Is there a possibility to wrap the styles in a class so that we can overwrite them in our code and it won't require change in rapidoc source code.

And also kindly let me know when the change related to operation method type block will be available. I can see it's currently available in beta version

@mrin9
Copy link
Collaborator

mrin9 commented May 24, 2022

I see there are more styles and few text fields which are hardcoded and not given option to overwrite.

That's on purpose. As as web-component we encapsulate styles not allow overrides. It helps in protection from style leaking from other components and allows you to have multiple RapiDoc webcomponent on the same page with its own styles.

If you want to target a specific section or component use css-parts
and if you still dont find a part that you can style, let me know and we can decide if we can expose it for user-styling

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