@phenomlab said in Threading support for NodeBB:
@DownPW Not layout shift in fact, but a lack of CSS being added during the ajaxify.end
- in other words, this class is not being added on page load
li.necro-post.text-muted.timeline-event.d-flex.gap-2.pt-4.threaded {
background: transparent !important;
margin-bottom: 10px !important;
}
I believe this is because this component type is being added after the page loads, so in fact, it is not in the DOM
when the page loads initially, so it is skipped. I have the same issue on Sudonix, but work around it using the below additional CSS
.page-topic .topic .posts.timeline [component="topic/event"].timeline-event, .page-topic .topic .posts.timeline [component="topic/necro-post"].timeline-event {
margin-bottom: 10px;
}
I’ve added this to the CSS on your site, which “fixes” (albeit dirty) the problem
Don’t see this directive on ACP/CSS. I add it myself seems that work.
Currently, the last message is highlighted (in blue on the gif) and then the reply block shifts to the left (using the margin)
Is there a possibility that the block will move to the margin directly rather than waiting for the blue indicator to disappear?
It’s a shame to wait until the blue border-left disappears and then the block shifts to the left.
It would have to shift directly without waiting
edit :
thats seems to work here, no delay :