mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-23 19:31:26 +00:00
Make comment depth easier to track visually
This commit is contained in:
parent
b12399de5f
commit
48c16cc977
1 changed files with 2 additions and 6 deletions
|
@ -41,14 +41,10 @@ export class CommentNodes extends Component<CommentNodesProps, any> {
|
||||||
return this.props.nodes.length > 0 ? (
|
return this.props.nodes.length > 0 ? (
|
||||||
<ul
|
<ul
|
||||||
className={classNames("comments", {
|
className={classNames("comments", {
|
||||||
"ms-2": !!this.props.isChild,
|
"ms-1": !!this.props.isChild,
|
||||||
"border-top border-light": !this.props.noBorder,
|
"border-top border-light": !this.props.noBorder,
|
||||||
})}
|
})}
|
||||||
style={{
|
style={`border-left: 2px solid ${borderColor} !important;`}
|
||||||
"border-left-color": borderColor,
|
|
||||||
"border-left-style": "solid",
|
|
||||||
"border-left-width": `2px`,
|
|
||||||
}}
|
|
||||||
>
|
>
|
||||||
{this.props.nodes.slice(0, maxComments).map(node => (
|
{this.props.nodes.slice(0, maxComments).map(node => (
|
||||||
<CommentNode
|
<CommentNode
|
||||||
|
|
Loading…
Reference in a new issue