Small fixes

This commit is contained in:
Stanislav Romanov 2022-09-09 18:19:52 +03:00
parent 46611e86e1
commit dcc0a19290
3 changed files with 2 additions and 4 deletions

View file

@ -128,7 +128,7 @@ body {
width: var(--sidenav-width);
transition-property: transform;
transform: translate3d(-100%, 0, 0);
@apply bg-base-7 p-4;
@apply bg-base-7 p-4 pt-0;
}
.main {

View file

@ -2,4 +2,4 @@
role='button'
class='sidenav-background'
{{on 'click' this.closeSidebar}}
></div>
/>

View file

@ -1,8 +1,6 @@
import Component from '@glimmer/component';
import { action } from '@ember/object';
export default class SidenavBackgroundComponent extends Component {
@action
closeSidebar() {
document.body.classList.remove('sidebar-is-opened');
}