Commit 41d1e1f
committed
8355 Consistent button size on orientation change
Previously, if you had the phone in landscape when the “Payment Successful” modal was shown, the two primary buttons would be displayed side by side at different sizes. Changing to portrait and back to landscape resulted in two different sizes showing, which felt strange.
Using the `fillProportionally` option resolves this and leads to a more consistent view in this edge case.1 parent 6c439ee commit 41d1e1f
File tree
1 file changed
+2
-0
lines changed- WooCommerce/Classes/ViewRelated/CardPresentPayments
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| 81 | + | |
80 | 82 | | |
81 | 83 | | |
82 | 84 | | |
| |||
0 commit comments