Skip to content

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

docked topic progress indicator too wide

Kris7ff78cc01308
diff --git a/app/assets/javascripts/discourse/components/topic-progress.js.es6 b/app/assets/javascripts/discourse/components/topic-progress.js.es6
index 0ca3c3efd76..53ca9606991 100644
--- a/app/assets/javascripts/discourse/components/topic-progress.js.es6
+++ b/app/assets/javascripts/discourse/components/topic-progress.js.es6
@@ -111,7 +111,7 @@ export default Ember.Component.extend({
const style = `border-right-width: ${borderSize}; width: ${progressWidth}px`;
$topicProgress.append(`<div class='bg' style="${style}">&nbsp;</div>`);
} else {
- $bg.css("border-right-width", borderSize).width(progressWidth);
+ $bg.css("border-right-width", borderSize).width(progressWidth - 2);
}
},