mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 04:59:22 -06:00
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.
This commit is contained in:
parent
1051a95160
commit
45a55a3abf
@ -185,6 +185,10 @@ export default Ember.Component.extend({
|
||||
} else {
|
||||
$wrapper.css(wrapperDir, "1em");
|
||||
}
|
||||
|
||||
if (!isDocked) {
|
||||
$wrapper.css("margin-bottom", "0px");
|
||||
}
|
||||
},
|
||||
|
||||
click(e) {
|
||||
|
Loading…
Reference in New Issue
Block a user