mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 09:21:40 +08:00
FIX: Draft overlaps topic counts blurb in suggested topics.
This commit is contained in:
parent
d6069e8c90
commit
08e69b988c
@ -543,8 +543,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…
x
Reference in New Issue
Block a user