mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 15:03:07 +00:00
fixed sidebar set-off
This commit is contained in:
@@ -58,3 +58,9 @@ export const slideSidebar = trigger('slideSidebar', [
|
||||
]
|
||||
))
|
||||
]);
|
||||
|
||||
export const slideSidebarMargin = trigger('slideSidebarMargin', [
|
||||
state('collapsed', style({ marginLeft: 0 })),
|
||||
state('expanded', style({ marginLeft: '{{ collapsedSidebarWidth }}' }), { params: { collapsedSidebarWidth: '*' } }),
|
||||
transition('collapsed <=> expanded', [animate('200ms')]),
|
||||
]);
|
Reference in New Issue
Block a user