Skip to content

Commit 70d50de

Browse files
committed
UserItem [nfc]: Inline globalStyles.listItem here
1 parent cddc2f9 commit 70d50de

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/users/UserItem.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import ZulipText from '../common/ZulipText';
99
import Touchable from '../common/Touchable';
1010
import UnreadCount from '../common/UnreadCount';
1111
import { UserAvatarWithPresenceById } from '../common/UserAvatarWithPresence';
12-
import globalStyles, { createStyleSheet, BRAND_COLOR } from '../styles';
12+
import { createStyleSheet, BRAND_COLOR } from '../styles';
1313
import { useSelector } from '../react-redux';
1414
import { getUserForId } from './userSelectors';
1515
import { getMutedUsers } from '../selectors';
@@ -62,7 +62,12 @@ export function UserItemRaw<
6262
createStyleSheet({
6363
wrapper:
6464
size === 'large'
65-
? globalStyles.listItem
65+
? {
66+
flexDirection: 'row',
67+
alignItems: 'center',
68+
paddingVertical: 8,
69+
paddingHorizontal: 16,
70+
}
6671
: {
6772
flexDirection: 'row',
6873
alignItems: 'center',

0 commit comments

Comments
 (0)