feat: make the main div span across the entire page
This commit is contained in:
parent
c4aa093022
commit
4a68c34442
@ -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> {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user