Skip to content

Commit 101033e

Browse files
committed
1 parent 701d7d9 commit 101033e

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

assets/css/components/_presentations.scss

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,15 @@
2323

2424
.presentation-preview {
2525
min-height: 14rem;
26-
position: relative;
26+
display: flex;
27+
align-items: center;
28+
justify-content: center;
29+
overflow: hidden;
2730
}
2831

2932
.presentation-thumbnail {
30-
position: absolute;
31-
left: 50%;
32-
top: 50%;
33-
transform: translate(-50%, -50%);
33+
max-width: 100%;
34+
max-height: 100%;
3435
}
3536

3637
.presentation-event {

0 commit comments

Comments
 (0)