mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
feat(web): new look option for slideshow (#8924)
feat: new look option for slideshow
This commit is contained in:
parent
a93534fc3c
commit
7d4187962a
3 changed files with 25 additions and 6 deletions
|
|
@ -16,11 +16,13 @@ export enum SlideshowNavigation {
|
|||
export enum SlideshowLook {
|
||||
Contain = 'contain',
|
||||
Cover = 'cover',
|
||||
BlurredBackground = 'blurred-background',
|
||||
}
|
||||
|
||||
export const slideshowLookCssMapping: Record<SlideshowLook, string> = {
|
||||
[SlideshowLook.Contain]: 'object-contain',
|
||||
[SlideshowLook.Cover]: 'object-cover',
|
||||
[SlideshowLook.BlurredBackground]: 'object-contain',
|
||||
};
|
||||
|
||||
function createSlideshowStore() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue