Skip to content

Unable to modify inline style (NextJS) #1119

@MarBert

Description

@MarBert

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions