Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-04-13 19:48:37 +0300
committerDouwe Maan <douwe@selenight.nl>2017-04-28 17:38:02 +0300
commite4cca4d7fdb0634e4cac1f3d7cb03fcbca48f160 (patch)
treec031435af003dd653c1f56c231bb7ff1500c4a9d /app/assets/stylesheets/framework/files.scss
parent31b87b8cab2c2daebb99657046e5d121b48499ad (diff)
Display video blobs in-line like images
Diffstat (limited to 'app/assets/stylesheets/framework/files.scss')
-rw-r--r--app/assets/stylesheets/framework/files.scss6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/assets/stylesheets/framework/files.scss b/app/assets/stylesheets/framework/files.scss
index df819ffe4bc..c197bf6b9f5 100644
--- a/app/assets/stylesheets/framework/files.scss
+++ b/app/assets/stylesheets/framework/files.scss
@@ -61,11 +61,13 @@
.file-content {
background: $white-light;
- &.image_file {
+ &.image_file,
+ &.video {
background: $file-image-bg;
text-align: center;
- img {
+ img,
+ video {
padding: 20px;
max-width: 80%;
}