Skip to content

OpenRAG is a comprehensive, single package Retrieval-Augmented Generation platform built on Langflow, Docling, and Opensearch.

Python

remove mermaid custom css

April Me3091b9a97d1
diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css
index 95eb8644a..a9dd0c26f 100644
--- a/docs/src/css/custom.css
+++ b/docs/src/css/custom.css
@@ -141,73 +141,4 @@
stroke-width: 2.5 !important;
display: inline-block;
vertical-align: middle;
-}
-
-/* Mermaid Diagram Styling - Force proper sizing */
-.mermaid {
- text-align: center;
- margin: 2rem 0;
- width: 100% !important;
- min-height: 500px !important;
- display: block !important;
- overflow: visible !important;
-}
-
-.mermaid svg {
- width: 100% !important;
- max-width: none !important;
- min-width: 800px !important;
- min-height: 500px !important;
- height: auto !important;
- display: block !important;
- margin: 0 auto !important;
- transform: scale(1) !important;
-}
-
-/* Force Mermaid diagram sizing */
-.markdown .mermaid {
- width: 100% !important;
- min-height: 500px !important;
- display: block !important;
-}
-
-.markdown .mermaid svg {
- width: 100% !important;
- min-width: 800px !important;
- min-height: 500px !important;
- transform: scale(1) !important;
-}
-
-/* Target the specific Mermaid container */
-div[class*="mermaid"] {
- width: 100% !important;
- min-height: 500px !important;
-}
-
-div[class*="mermaid"] svg {
- width: 100% !important;
- min-width: 800px !important;
- min-height: 500px !important;
-}
-
-/* Force Mermaid to render at full size */
-.mermaid,
-.mermaid > *,
-.mermaid svg,
-.mermaid div,
-.mermaid div svg {
- width: 100% !important;
- min-width: 800px !important;
- min-height: 500px !important;
- max-width: none !important;
- display: block !important;
- transform: none !important;
- scale: 1 !important;
-}
-
-/* Override any potential scaling issues */
-.mermaid svg {
- transform: none !important;
- scale: 1 !important;
- viewBox: unset !important;
-}
+}
\ No newline at end of file