Skip to content

Commit db47269

Browse files
committed
fixing the list items so that they are properly clickable as well.
1 parent c622596 commit db47269

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/components/file-list-item.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,20 @@ class FileListItem extends React.Component {
2727
onClick
2828
} = this.props;
2929

30+
const liStyle = {
31+
listStyleType: 'none',
32+
padding: "14px 16px 15px"
33+
}
34+
3035
const tempStyles = [styles.fileTempIndicator];
3136
if(temp){
3237
tempStyles.push(styles.fileHasTemp);
3338
}
3439

3540
return (
36-
<ListItem onClick={onClick}>
41+
<li styles={liStyle} onClick={onClick}>
3742
<span styles={tempStyles} /> {filename}
38-
</ListItem>
43+
</li>
3944
);
4045
}
4146
}

0 commit comments

Comments
 (0)