Skip to content

A platform for community discussion. Free, open, simple.

FIX: Loading container needs same width as posts, follow up to da5841d (#10966)

Kris1946fa3c5317
diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss
index 6aa3c1af487..e16a85dc734 100644
--- a/app/assets/stylesheets/desktop/topic-post.scss
+++ b/app/assets/stylesheets/desktop/topic-post.scss
@@ -598,6 +598,14 @@ blockquote {
box-sizing: border-box;
}
+.topic-area > .loading-container {
+ // loader needs to be same width as posts
+ width: calc(
+ #{$topic-avatar-width} + #{$topic-body-width} +
+ (#{$topic-body-width-padding} * 2)
+ );
+}
+
/* hide the reply border above the time gap notices */
.time-gap + .topic-post .topic-body,