zoom to 150% in desktop and disable clipify until analysis called

main 0.1.2
Bel LaPointe 2023-12-28 17:32:59 -05:00
parent 6513dc09b4
commit daf554ee83
1 changed files with 2 additions and 1 deletions

View File

@ -24,6 +24,7 @@ fn App(cx: Scope) -> Element {
body {{
max-width: 600pt;
margin: auto;
zoom: 150%;
}}
label {{
display: block;
@ -103,7 +104,7 @@ fn App(cx: Scope) -> Element {
status.set(f);
}
},
input { r#type: "submit", value: "clipify selected spans", disabled: file.get().len() == 0 || status.get().starts_with("[WORKING]") }
input { r#type: "submit", value: "clipify selected spans", disabled: file.get().len() == 0 || status.get().starts_with("[WORKING]") || analysis.get().result.len() == 0 }
hr {}
analysis.get().result.iter().map(|a| {
rsx! {