Skip to content

Commit 5c835fe

Browse files
chore(register): tighten register UI defaults
1 parent c7a05e3 commit 5c835fe

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/register/register_screen.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ live_design! {
9494
color: #FFF
9595
}
9696

97-
<ScrollXYView> {
97+
<ScrollYView> {
9898
width: Fit, height: Fill,
9999
// Note: *do NOT* vertically center this, it will break scrolling.
100100
align: {x: 0.5}
@@ -335,6 +335,7 @@ live_design! {
335335
width: Fill, height: Fit
336336
padding: 10,
337337
empty_text: "Registration token"
338+
is_password: true,
338339
}
339340
}
340341

src/register/register_status_modal.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ live_design! {
1515
align: {x: 0.5}
1616

1717
<RoundedView> {
18-
// Same width as LoginStatusModal for consistency
18+
// Keep parity with LoginStatusModal width by averaging both legacy widths.
1919
width: ((320+250)/2),
2020
height: Fit,
2121
flow: Down,

0 commit comments

Comments
 (0)