X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fimages%2Fpreview-upload.component.scss;h=8f35221156873201e3f0b57ee8d267a8856dd68b;hb=6f02515e2aff2a8750ad3515b23b345f01c64ab2;hp=257060239bd26bda087ced3eea733467df4c584e;hpb=9f77adb8fe9be0064599c183bb8f221ebbc5ede5;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/images/preview-upload.component.scss b/client/src/app/shared/images/preview-upload.component.scss index 257060239..8f3522115 100644 --- a/client/src/app/shared/images/preview-upload.component.scss +++ b/client/src/app/shared/images/preview-upload.component.scss @@ -16,11 +16,13 @@ } .preview { - border: 2px solid grey; + object-fit: cover; border-radius: 4px; + max-width: 100%; &.no-image { - background-color: #ececec; + border: 2px solid grey; + background-color: var(--mainBackgroundColor); } } }