feat: make the main div span across the entire page
This commit is contained in:
		| @@ -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 */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user