From 142ed02f518608ba58cfac2e5e3fc25bd054c9ec Mon Sep 17 00:00:00 2001 From: trivernis Date: Fri, 11 Feb 2022 17:09:36 +0100 Subject: [PATCH] Add option to collapse the file preview strip in the gallery view Signed-off-by: trivernis --- .../shared/app-common/app-common.module.ts | 3 ++- .../file-gallery/file-gallery.component.html | 15 ++++++++----- .../file-gallery/file-gallery.component.scss | 22 ++++++++++++++++++- .../file-gallery/file-gallery.component.ts | 13 +++++++++++ .../app/components/shared/file/file.module.ts | 6 ++++- 5 files changed, 51 insertions(+), 8 deletions(-) diff --git a/mediarepo-ui/src/app/components/shared/app-common/app-common.module.ts b/mediarepo-ui/src/app/components/shared/app-common/app-common.module.ts index da689bc..b56e73f 100644 --- a/mediarepo-ui/src/app/components/shared/app-common/app-common.module.ts +++ b/mediarepo-ui/src/app/components/shared/app-common/app-common.module.ts @@ -22,7 +22,7 @@ import {DrawerPageSideComponent} from "./drawer-page/drawer-page-side/drawer-pag import {DrawerPageContentComponent} from "./drawer-page/drawer-page-content/drawer-page-content.component"; import {FlexLayoutModule} from "@angular/flex-layout"; import {MatRippleModule} from "@angular/material/core"; -import { FlapButtonComponent } from './flap-button/flap-button.component'; +import {FlapButtonComponent} from "./flap-button/flap-button.component"; @NgModule({ @@ -53,6 +53,7 @@ import { FlapButtonComponent } from './flap-button/flap-button.component'; DrawerPageComponent, DrawerPageSideComponent, DrawerPageContentComponent, + FlapButtonComponent, ], imports: [ CommonModule, diff --git a/mediarepo-ui/src/app/components/shared/file/file-multiview/file-gallery/file-gallery.component.html b/mediarepo-ui/src/app/components/shared/file/file-multiview/file-gallery/file-gallery.component.html index 291cf61..79873c7 100644 --- a/mediarepo-ui/src/app/components/shared/file/file-multiview/file-gallery/file-gallery.component.html +++ b/mediarepo-ui/src/app/components/shared/file/file-multiview/file-gallery/file-gallery.component.html @@ -1,16 +1,21 @@ -