feat: make the main div span across the entire page

This commit is contained in:
Matouš Volf 2024-08-22 22:10:50 +02:00
parent c4aa093022
commit 4a68c34442
2 changed files with 11 additions and 1 deletions

View File

@ -6,6 +6,9 @@ use dioxus::prelude::*;
#[component]
pub(crate) fn App() -> Element {
rsx! {
Router::<Route> {}
div {
class: "min-h-screen text-white bg-neutral-800",
Router::<Route> {}
}
}
}

View File

@ -1,8 +1,15 @@
/* stylelint-disable */
/* noinspection CssInvalidAtRule */
@tailwind base;
/* noinspection CssInvalidAtRule */
@tailwind components;
/* noinspection CssInvalidAtRule */
@tailwind utilities;
html, body, #main {
/* noinspection CssInvalidAtRule */
@apply min-h-screen;
}
/* stylelint-enable */