Builder-viz: Supporting new modulectomy scoping of CSS

This commit is contained in:
rand00 2022-03-15 13:15:25 +01:00
parent 0e7e7e3357
commit bfd0299844

View file

@ -53,10 +53,10 @@ let print_treemap_html elf_path elf_size =
] ]
in in
let override_css = {| let override_css = {|
.module { .treemap-module {
fill: rgb(60, 60, 87); fill: rgb(60, 60, 87);
} }
.functor > text, .module > text { .treemap-functor > text, .treemap-module > text {
fill: bisque; fill: bisque;
} }
|} |}
@ -78,7 +78,7 @@ let print_dependencies_html file =
let transitive = false in let transitive = false in
let graph = Ui.dependencies ~transitive data in let graph = Ui.dependencies ~transitive data in
let override_css = {| let override_css = {|
svg { .treemap-svg-wrap {
background: rgb(60, 60, 87); background: rgb(60, 60, 87);
} }
|} |}