Merge pull request #3634 from tgxworld/fix_draft_overlaps
FIX: Draft overlaps topic counts blurb in suggested topics.
This commit is contained in:
commit
7ba7b23aec
|
@ -545,8 +545,11 @@ const ComposerView = Discourse.View.extend(Ember.Evented, {
|
|||
|
||||
this.$('.wmd-preview').off('click.preview');
|
||||
|
||||
const self = this;
|
||||
|
||||
Em.run.next(() => {
|
||||
$('#main-outlet').css('padding-bottom', 0);
|
||||
const sizePx = self.get('composeState') === Discourse.Composer.CLOSED ? 0 : $('#reply-control').height();
|
||||
$('#main-outlet').css('padding-bottom', sizePx);
|
||||
// need to wait a bit for the "slide down" transition of the composer
|
||||
Em.run.later(() => {
|
||||
this.appEvents.trigger("composer:closed");
|
||||
|
|
Loading…
Reference in New Issue