From bfd0299844e9854dce62a133672a1e0f53bb2a55 Mon Sep 17 00:00:00 2001 From: rand00 Date: Tue, 15 Mar 2022 13:15:25 +0100 Subject: [PATCH] Builder-viz: Supporting new modulectomy scoping of CSS --- bin/visualizations/builder_viz.ml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/visualizations/builder_viz.ml b/bin/visualizations/builder_viz.ml index 1b9af58..ad8fc0b 100644 --- a/bin/visualizations/builder_viz.ml +++ b/bin/visualizations/builder_viz.ml @@ -53,10 +53,10 @@ let print_treemap_html elf_path elf_size = ] in let override_css = {| - .module { + .treemap-module { fill: rgb(60, 60, 87); } - .functor > text, .module > text { + .treemap-functor > text, .treemap-module > text { fill: bisque; } |} @@ -78,7 +78,7 @@ let print_dependencies_html file = let transitive = false in let graph = Ui.dependencies ~transitive data in let override_css = {| - svg { + .treemap-svg-wrap { background: rgb(60, 60, 87); } |}