Actualiza los estilos para encajarlos en los temas

This commit is contained in:
Manuel Cillero 2022-07-24 19:36:09 +02:00
parent 396f9df5ee
commit eb3e354f2f
6 changed files with 705 additions and 694 deletions

View file

@ -67,12 +67,12 @@ async fn mdbook_page(request: app::HttpRequest) -> ResultPage<Markup, FatalError
AssetsOp::<StyleSheet>::Add(StyleSheet::located("/doc/ayu-highlight.css"))
));
page.add_to(
"region-content",
Container::new()
.with_id("mdbook")
.with_component(Html::with(html! { (PreEscaped(html)) }))
)
.render()
"region-content",
Container::new()
.with_id("mdbook")
.with_component(Html::with(html! { (PreEscaped(html)) }))
)
.render()
} else {
Err(FatalError::NotFound)
}