aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-03-14 00:58:34 -0400
committerBob Zeleznik <zzzman@gmail.com>2019-03-14 00:58:34 -0400
commite599b11d396bacad8310501ea55047f15f36eff2 (patch)
tree2dd1c2494e10c1d31c7c5712460b8378485b7ec0 /src
parent100156a0cb778694455a04c8e254054b79f6a06f (diff)
no idea why, but fixed display of videos in schema preview
Diffstat (limited to 'src')
-rw-r--r--src/client/views/collections/CollectionFreeFormView.scss1
-rw-r--r--src/client/views/collections/CollectionSchemaView.scss5
2 files changed, 5 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionFreeFormView.scss b/src/client/views/collections/CollectionFreeFormView.scss
index ac2d18352..c382cf30c 100644
--- a/src/client/views/collections/CollectionFreeFormView.scss
+++ b/src/client/views/collections/CollectionFreeFormView.scss
@@ -44,7 +44,6 @@
border: 0px solid transparent;
border-radius: $border-radius;
box-sizing: border-box;
- position: absolute;
top: 0;
left: 0;
width: 100%;
diff --git a/src/client/views/collections/CollectionSchemaView.scss b/src/client/views/collections/CollectionSchemaView.scss
index b66fc7981..c9e1d431d 100644
--- a/src/client/views/collections/CollectionSchemaView.scss
+++ b/src/client/views/collections/CollectionSchemaView.scss
@@ -77,6 +77,11 @@
max-width: 100%;
height: 100%;
}
+ .videobox-cont {
+ object-fit: contain;
+ max-width: 100%;
+ height: 100%;
+ }
}
}
.ReactTable .rt-thead.-header {