Commit 26cf92a
committed
ZulipButton [nfc]: Limit the set of style properties allowed.
The use of specific style properties for callers to micromanage the
layout of the button is pretty chaotic and fragile, introducing
implicit dependencies on details of the ZulipButton implementation.
It'd be good to assimilate those usages into a more coherent set of
options provided by the ZulipButton interface explicitly. This
would also help with making the buttons' appearance more consistent
across the app.
Until then, by listing here the properties we do use, we can at least
make it possible when working on the ZulipButton implementation to
know the scope of different ways that callers can mess with the styles.1 parent f17afce commit 26cf92a
1 file changed
+34
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
66 | | - | |
67 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
68 | 99 | | |
69 | 100 | | |
70 | 101 | | |
| |||
0 commit comments