Skip to content

Commit

Permalink
fix: make QR scanner shape uniform across devices
Browse files Browse the repository at this point in the history
  • Loading branch information
elsirion committed May 26, 2024
1 parent 3b81212 commit 297dda7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ hex = "0.4.3"
itertools = "0.13.0"
leptos = { version = "0.6.5", features = ["csr"] }
leptos-use = "0.10.2"
leptos-qr-scanner = { git = "https://github.com/elsirion/leptos-qr-scanner", rev = "5830bd6f75d7836189ef1434f71a10222a737a44" }
leptos-qr-scanner = "0.1.0"
leptos_meta = { version = "0.6.5", features = ["csr"] }
lightning-invoice = { version = "0.26.0", features = [ "serde" ] }
qrcode-generator = "4.1.8"
Expand Down
2 changes: 1 addition & 1 deletion src/components/submit_form.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ where
set_value.set(invite.clone());
on_submit(invite);
}
class="my-8"
class="my-8 mx-auto flex aspect-square w-4/5"
/>
};

Expand Down

0 comments on commit 297dda7

Please sign in to comment.