Merge pull request #976 from Human-Connection/961-thumbnail-for-the-contributions-must-get-a-maximum-height

large images are set to maximum height
This commit is contained in:
Robert Schäfer 2019-07-09 23:21:27 +02:00 committed by GitHub
commit 4b308886ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,6 +128,15 @@ export default {
</script>
<style lang="scss">
.ds-card-image img {
width: 100%;
max-height: 300px;
-o-object-fit: cover;
object-fit: cover;
-o-object-position: center;
object-position: center;
}
.post-card {
cursor: pointer;
position: relative;