rapi-doc / RapiDoc

RapiDoc -WebComponent for OpenAPI Spec
https://rapidocweb.com
MIT License
1.65k stars 277 forks source link

Self-contained CSS in RapiDoc-min #976

Closed villanella closed 1 week ago

villanella commented 10 months ago

Problem: embed Rapidoc-min overlaps the borders of containers in target web interface.

photo_5377674714362794050_x pic-selected-231029-1518-15 (1)

Because RapiDoc-min widget is designed for integration into other systems, its CSS should be self-contained and not rely on a surrounding context.

See the related issue about visual problems in RapiDoc-StrictDoc integration: https://github.com/strictdoc-project/strictdoc/issues/1400

mrin9 commented 1 week ago

<rapi-doc-mini> needs a minimum of 360px width.

Given the above screenshots it is not clear is the issue is due to the styles applied on the host document or due to RapiDocs css

I will be closing this one, If this is still an issue please reopen another one providing an minimal html file to recreate it at my end