add left margin to items in userlist

This commit is contained in:
KDSBrowne 2017-11-16 08:26:49 -08:00
parent 37bd382044
commit 2784a53570
4 changed files with 11 additions and 2 deletions

View File

@ -1,6 +1,7 @@
@import "/imports/ui/components/user-list/styles.scss";
@import "/imports/ui/stylesheets/mixins/_scrollable";
@import "/imports/ui/stylesheets/mixins/focus";
@import "/imports/ui/stylesheets/variables/_all";
.content {
@extend %flex-column;
@ -12,3 +13,7 @@
@include elementFocus($list-item-bg-hover);
@include scrollbox-vertical($user-list-bg);
}
.list {
margin-left: $md-padding-y;
}

View File

@ -128,7 +128,7 @@ class UserMessages extends Component {
component="div"
className={cx(styles.chatsList)}
>
<div ref={(ref) => { this._msgItems = ref; }}>
<div ref={(ref) => { this._msgItems = ref; }} className={styles.list}>
{openChats.map(chat => (
<ChatListItem
isPublicChat={isPublicChat}

View File

@ -22,3 +22,7 @@
overflow: hidden;
flex-shrink: 1;
}
.list {
margin-left: $md-padding-y;
}

View File

@ -204,7 +204,7 @@ class UserParticipants extends Component {
component="div"
className={cx(styles.participantsList)}
>
<div ref={(ref) => { this.refScrollItems = ref; }}>
<div ref={(ref) => { this.refScrollItems = ref; }} className={styles.list}>
{
users.map(user => (
<UserListItem