Disqus 评论系统 - 边距左偏移
我需要增加父母评论(回复评论)的空白。 左边距现在是 46px、58px 等。
是否有某种方法可以设置 margin-left disqus 应该用来偏移注释?
I need to increase the margin-left on comments that are parents (comments that are replies).
The margin left is now 46px, 58px etc.
Is there some way to set the margin-left disqus should offset comments with?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
通过脚本回答
如果你指的是评论上的评论上的评论,可以使用下面的方法,每个parent的偏移量为46 + 12。
通过 CSS 回答
如果你的评论量是静态的,你可以使用 css
最佳解决方案
但最好是嵌套它们,所以你可以只使用
margin-left : 12px;
并且嵌套已经移动了 12px,现在他的边距也将在那里。所以又移动了12px。然后 HTML 看起来像:
和 CSS:
Answer through script
If you mean comments on comments on comments, you can use the following method, which has an offset of 46 + 12 for each parent.
Answer through CSS
If you got a static amount of comments, you can use css
Best solution
But it's better to nest them, so you can just use
margin-left: 12px;
and the nested already moved 12px and now his margin will be there aswell. So moved another 12px.Then the HTML will ook like:
And the CSS: