Skip to content

Commit

Permalink
fix: font size on desktop(again) (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
cr0sh authored Jul 16, 2023
1 parent 985ef61 commit bff2ee7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ pub fn app() -> Html {
<main>
<div class={ classes!("flex", "flex-col", "items-stretch", "px-20", "py-10", "h-screen") }>
<h1 class={ classes!("py-5", "text-2xl") }>{ format!("syn-debugger-web v{}", env!("CARGO_PKG_VERSION")) }</h1>
<div class={ classes!("flex", "text-xl", "lg:text-sm", "flex-col", "lg:flex-row", "grow", "w-full", "h-4/5") }>
<div class={ classes!("flex", "text-xl", "flex-col", "lg:flex-row", "grow", "w-full", "h-4/5") }>
<div class={ classes!("flex", "flex-col", "px-5", "text-md", "w-full", "lg:w-1/2", "h-1/2", "lg:h-full") }>
<Input {input_ref} onchange={onchange.clone()}/>
</div>
Expand Down Expand Up @@ -107,6 +107,7 @@ fn input(props: &InputProperties) -> Html {
"flex-1",
"px-2",
"pt-2",
"lg:text-sm",
"text-justify",
"text-start",
"font-mono",
Expand Down Expand Up @@ -164,6 +165,7 @@ fn output(props: &OutputProperties) -> Html {
"flex-1",
"px-2",
"pt-2",
"lg:text-sm",
"text-justify",
"text-start",
"font-mono",
Expand Down

0 comments on commit bff2ee7

Please sign in to comment.