mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-02-17 04:01:29 -05:00
FIX: Don't show scrollbar in notifications with logout button
This commit is contained in:
parent
c36fdccab2
commit
88e44542f5
2 changed files with 6 additions and 5 deletions
|
@ -42,6 +42,7 @@ export default Ember.Component.extend({
|
||||||
if (contentHeight + (offsetTop - scrollTop) + PANEL_BODY_MARGIN > fullHeight) {
|
if (contentHeight + (offsetTop - scrollTop) + PANEL_BODY_MARGIN > fullHeight) {
|
||||||
contentHeight = fullHeight - (offsetTop - scrollTop) - PANEL_BODY_MARGIN;
|
contentHeight = fullHeight - (offsetTop - scrollTop) - PANEL_BODY_MARGIN;
|
||||||
}
|
}
|
||||||
|
console.log(contentHeight);
|
||||||
$panelBody.height(contentHeight);
|
$panelBody.height(contentHeight);
|
||||||
$('body').addClass('drop-down-visible');
|
$('body').addClass('drop-down-visible');
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -33,10 +33,10 @@
|
||||||
</ul>
|
</ul>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/conditional-loading-spinner}}
|
{{/conditional-loading-spinner}}
|
||||||
{{#if siteSettings.show_logout_in_header}}
|
|
||||||
<hr>
|
|
||||||
{{d-link action="logout" class="logout" icon="sign-out" label="user.log_out"}}
|
|
||||||
{{/if}}
|
|
||||||
{{plugin-outlet "user-menu-bottom"}}
|
|
||||||
</div>
|
</div>
|
||||||
|
{{plugin-outlet "user-menu-bottom"}}
|
||||||
|
{{#if siteSettings.show_logout_in_header}}
|
||||||
|
<hr>
|
||||||
|
{{d-link action="logout" class="logout" icon="sign-out" label="user.log_out"}}
|
||||||
|
{{/if}}
|
||||||
{{/menu-panel}}
|
{{/menu-panel}}
|
||||||
|
|
Loading…
Reference in a new issue