Merge pull request 'Supporting new modulectomy scoping of CSS' (#98) from 20220315_supporting_new_modulectomy_scoping_of_CSS into main

Reviewed-on: https://git.robur.io/robur/builder-web/pulls/98
This commit is contained in:
rand 2022-03-16 11:03:06 +00:00
commit b2b593796a

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);
} }
|} |}