feat: update leptos

This commit is contained in:
luoxiao 2023-09-17 21:26:37 +08:00
parent 5b27be9c21
commit 55dc1c7b38
3 changed files with 5 additions and 5 deletions

View file

@ -13,10 +13,10 @@ license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
leptos = { version = "0.5.0-beta2", features = ["csr"] } leptos = { version = "0.5.0-rc2", features = ["csr"] }
stylers = { git = "https://github.com/abishekatp/stylers", rev = "4bfd2df" } stylers = { git = "https://github.com/abishekatp/stylers", rev = "4bfd2df" }
web-sys = { version = "0.3.62", features = ["DomRect"] } web-sys = { version = "0.3.62", features = ["DomRect"] }
leptos_dom = { version = "0.5.0-beta2" } leptos_dom = { version = "0.5.0-rc2" }
wasm-bindgen = "0.2.85" wasm-bindgen = "0.2.85"
icondata = { version = "0.0.7", features = [ icondata = { version = "0.0.7", features = [
"AiCloseOutlined", "AiCloseOutlined",

View file

@ -6,13 +6,13 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
leptos = { version = "0.5.0-beta2", features = ["csr"] } leptos = { version = "0.5.0-rc2", features = ["csr"] }
melt-ui = { path = "../" } melt-ui = { path = "../" }
icondata = { version = "0.0.7", features = [ icondata = { version = "0.0.7", features = [
"AiCloseOutlined", "AiCloseOutlined",
"AiCheckOutlined", "AiCheckOutlined",
] } ] }
leptos_router = { version = "0.5.0-beta2", features = ["csr"] } leptos_router = { version = "0.5.0-rc2", features = ["csr"] }
indoc = "2.0.1" indoc = "2.0.1"
regex = "1.8.2" regex = "1.8.2"
leptos_devtools = { git = "https://github.com/luoxiaozero/leptos-devtools.git" } leptos_devtools = { git = "https://github.com/luoxiaozero/leptos-devtools.git" }

View file

@ -35,7 +35,7 @@ pub fn Layout(
let style = create_memo(move |_| { let style = create_memo(move |_| {
let mut style = style.get(); let mut style = style.get();
if has_sider.get() { if has_sider.get() {
style.push_str("display: flex; flex-wrap: nowrap; flex-direction: row; width: 100;%") style.push_str("display: flex; flex-wrap: nowrap; flex-direction: row; width: 100%;")
} }
style style
}); });