RapiDoc icon indicating copy to clipboard operation
RapiDoc copied to clipboard

Unable to modify inline style (NextJS)

Open MarBert opened this issue 4 months ago • 0 comments

I've integrated Rapidoc on a Nextjs build, i'm trying to edit the css in order to remove the border-top setting in some divs (the blue line at start of a new section in the documentation).

Image

I tried editing the global.css, modify the custom-styles.css as suggested here https://rapidocweb.com/api.html but nothing seems to work. I've seen that the setting seems to be hardcoded in the rapidoc-min.js :

<div id="cmp--${e.name.toLowerCase()}" class='regular-font section-gap--read-mode observe-me' style="border-top:1px solid var(--primary-color);">

What is the best way to edit the inline style option?

MarBert avatar Sep 09 '25 08:09 MarBert