Skip to content

Commit

Permalink
Svg scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgenii-Barannik committed Oct 30, 2023
1 parent fe5a53f commit 427d5af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ fn populate_site_pages(nodes: Nodes, components: &HashMap<String, Nodes>, soluti

let svg_path = format!("{}/genealogy-{}.svg", OUTPUT_GENEALOGY_DIR, component_id);
let svg_code = fs::read_to_string(svg_path).expect("Не удалось прочитать файл");
let svg_embedding = format!("<body><div>{}</div></body>", svg_code);
let svg_embedding = format!(r#"<body><div class="svg-container">{}</div></body>"#, svg_code);

let slant_page_text = format!(
"+++\n\
Expand Down

0 comments on commit 427d5af

Please sign in to comment.