FIX: Correct position of topic progress in iOS when composer is visible

FIX: Correct position of topic progress in iOS when composer is visible

This fix is needed due to what feels like an iOS Safari bug. The CSS rule margin-bottom: env(safe-area-inset-bottom); should not apply to the topic progress element when the composer is visible, because the element is not near the bottom of the viewport.

diff --git a/app/assets/javascripts/discourse/components/topic-progress.js.es6 b/app/assets/javascripts/discourse/components/topic-progress.js.es6
index 41c57d0..cb5d89a 100644
--- a/app/assets/javascripts/discourse/components/topic-progress.js.es6
+++ b/app/assets/javascripts/discourse/components/topic-progress.js.es6
@@ -185,6 +185,10 @@ export default Ember.Component.extend({
     } else {
       $wrapper.css(wrapperDir, "1em");
     }
+
+    if (!isDocked) {
+      $wrapper.css("margin-bottom", "0px");
+    }
   },
 
   click(e) {

GitHub sha: 45a55a3a