fix: nodebb/nodebb-theme-community#19, maintain cover offset in LESS

main
Julian Lam 3 years ago
parent 430dfd592b
commit 35affd72db

@ -32,7 +32,7 @@
margin-bottom: 1em; margin-bottom: 1em;
background-origin: content-box; background-origin: content-box;
width: 100%; width: 100%;
top: 50px; top: calc(var(--panel-offset) + @navbar-height);
position: absolute; position: absolute;
left: auto; left: auto;
right: 0px; right: 0px;

@ -259,7 +259,6 @@ $(document).ready(function () {
if (chatsSlideout) { if (chatsSlideout) {
chatsSlideout.close(); chatsSlideout.close();
} }
$('.account .cover').css('top', $('[component="navbar"]').height());
}); });
navSlideout navSlideout

Loading…
Cancel
Save