Skip to content

Commit 12be7e4

Browse files
committed
some css improvements
1 parent 7d443f1 commit 12be7e4

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

rust/cryptonote/assets/app.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
html,
2+
body {
3+
width: 100vw;
4+
min-height: 100vh;
5+
overflow-x: hidden;
6+
}

rust/cryptonote/src/main.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1+
use components::{
2+
Home, Layout, License, Privacy, Share, View,
3+
};
14
use dioxus::prelude::*;
2-
use components::{Home, License, Layout, Privacy, Share, View};
5+
mod components;
36
mod crypto;
47
mod encoding;
58
mod error;
69
mod i18n;
710
pub mod prelude;
8-
mod components;
911

1012
#[derive(Debug, Clone, Routable, PartialEq)]
1113
#[rustfmt::skip]
@@ -57,6 +59,7 @@ fn App() -> Element {
5759
rsx! {
5860
document::Link { rel: "icon", href: FAVICON }
5961
document::Link { rel: "stylesheet", href: asset!("/assets/bare.min.css") }
62+
document::Link { rel: "stylesheet", href: asset!("/assets/app.css") }
6063
Router::<Route> {}
6164
}
6265
}

0 commit comments

Comments
 (0)