Small fixes
This commit is contained in:
parent
46611e86e1
commit
dcc0a19290
3 changed files with 2 additions and 4 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -2,4 +2,4 @@
|
|||
role='button'
|
||||
class='sidenav-background'
|
||||
{{on 'click' this.closeSidebar}}
|
||||
></div>
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue