mirror of
https://github.com/narrrl/proton-stream.git
synced 2026-11-04 00:47:00 +01:00
fix(android): keep the accent button's width and corners
Moving the gradient onto a row inside the button lost both: the button's own row hands its children no minimum size, so a fillMaxWidth button painted the ramp only behind its label, and with square corners. The gradient goes back on the button, and the 48dp touch-target padding is taken by a box around it instead, with the button inside told not to add its own. The primary button now matches the other buttons' 40dp container at every width. The screenshots are re-recorded for it.
This commit is contained in:
1 parent
66be35c3d4
commit
67cf3044f1
7 files changed
+28
-27
No files matched your search
Binary file not shown.
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.1 MiB |
Reference in new issue
Block a user