Skip to content

Commit ec67df4

Browse files
committed
styles [nfc]: Simplify padding in miscStyles.listItem
I checked, and no consumers were separately setting any padding on a component where this was being used. (If one did, then we'd want to investigate to see if this changed what padding was applied, e.g., because of how more-specific attributes prevail over less-specific ones.)
1 parent 6e88153 commit ec67df4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/styles/miscStyles.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,8 @@ export const statics = {
1212
listItem: {
1313
flexDirection: 'row',
1414
alignItems: 'center',
15-
paddingTop: 8,
16-
paddingBottom: 8,
17-
paddingLeft: 16,
18-
paddingRight: 16,
15+
paddingVertical: 8,
16+
paddingHorizontal: 16,
1917
},
2018
flexed: {
2119
flex: 1,

0 commit comments

Comments
 (0)