feat: ability to edit a project #30
@ -30,7 +30,7 @@ pub(crate) fn BottomPanel(display_form: Signal<bool>) -> Element {
|
||||
rsx! {
|
||||
div {
|
||||
class: format!(
|
||||
"bg-zinc-700/50 rounded-t-xl border-t-zinc-600 border-t backdrop-blur drop-shadow-[0_-5px_10px_rgba(0,0,0,0.2)] transition-[height] duration-[500ms] ease-[cubic-bezier(0.79,0.14,0.15,0.86)] {}",
|
||||
"pointer-events-auto bg-zinc-700/50 rounded-t-xl border-t-zinc-600 border-t backdrop-blur drop-shadow-[0_-5px_10px_rgba(0,0,0,0.2)] transition-[height] duration-[500ms] ease-[cubic-bezier(0.79,0.14,0.15,0.86)] {}",
|
||||
match (display_form(), current_route, navigation_expanded()) {
|
||||
(false, _, false) => "h-[64px]",
|
||||
(false, _, true) => "h-[128px]",
|
||||
|
@ -7,7 +7,7 @@ pub(crate) fn FormOpenButton(opened: Signal<bool>) -> Element {
|
||||
|
||||
rsx! {
|
||||
button {
|
||||
class: "m-4 py-3 px-5 self-end text-center bg-zinc-300/50 rounded-xl border-t-zinc-200 border-t backdrop-blur drop-shadow-[0_-5px_10px_rgba(0,0,0,0.2)] text-2xl text-zinc-200",
|
||||
class: "pointer-events-auto m-4 py-3 px-5 self-end text-center bg-zinc-300/50 rounded-xl border-t-zinc-200 border-t backdrop-blur drop-shadow-[0_-5px_10px_rgba(0,0,0,0.2)] text-2xl text-zinc-200",
|
||||
onclick: move |_| {
|
||||
if opened() {
|
||||
project_being_edited.set(None);
|
||||
|
@ -4,7 +4,7 @@ use dioxus::prelude::*;
|
||||
pub(crate) fn StickyBottom(children: Element) -> Element {
|
||||
rsx! {
|
||||
div {
|
||||
class: "fixed bottom-0 left-0 right-0 flex flex-col",
|
||||
class: "fixed bottom-0 left-0 right-0 flex flex-col pointer-events-none",
|
||||
{children}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user