diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-10-14 17:34:40 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-10-14 17:34:40 +0200 |
| commit | 2d7af61fb12160e65bc373f1597a61f15da8d4ae (patch) | |
| tree | 87e45986dbd34192f98148c5579a18f867c31146 /animism-align/frontend/app/views/viewer/player/components.media | |
| parent | 6373c1321cb680de9e354e1e03a11394e532254d (diff) | |
padding.. initial curtains...
Diffstat (limited to 'animism-align/frontend/app/views/viewer/player/components.media')
| -rw-r--r-- | animism-align/frontend/app/views/viewer/player/components.media/media.css | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/animism-align/frontend/app/views/viewer/player/components.media/media.css b/animism-align/frontend/app/views/viewer/player/components.media/media.css index bd6b4c0..c43c207 100644 --- a/animism-align/frontend/app/views/viewer/player/components.media/media.css +++ b/animism-align/frontend/app/views/viewer/player/components.media/media.css @@ -94,12 +94,13 @@ /* carousel */ -.carousel-container { - margin-top: 0.5rem; +.inline-element .carousel-container { margin-bottom: 1.5rem; - /*padding: 1rem;*/ position: relative; } +.inline-element:last-child .carousel-container { + margin-bottom: 0; +} .carousel-items { width: 100%; } @@ -110,7 +111,7 @@ height: calc(100vh - 1rem); } .viewer-fullscreen .carousel-items { - height: calc(100vh - 9rem); + height: calc(100vh - 19rem); } .carousel-item { display: flex; @@ -121,7 +122,7 @@ position: relative; display: inline-block; max-width: 100%; - max-height: calc(100vh - 10rem); + max-height: calc(100vh - 19rem); background-size: contain; background-repeat: no-repeat; background-position: center center; @@ -130,7 +131,7 @@ width: auto; height: auto; max-width: 100%; - max-height: calc(100vh - 10rem); + max-height: calc(100vh - 19rem); opacity: 0; pointer-events: none; /*object-fit: contain;*/ |
