Browse Source

Fixes #343 by setting the image width to auto, and centering it in the modal window.

pull/345/head
Nagy László 2 years ago
parent
commit
79cc1a7e2a
No known key found for this signature in database GPG Key ID: BC5A46D766BF10B3
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      pinry-spa/src/components/PinPreview.vue

+ 4
- 1
pinry-spa/src/components/PinPreview.vue View File

@@ -120,6 +120,9 @@ export default {
}
/* preview size should always less then screen */
.card-image img {
width: 100%;
padding: 10px;
margin-left: auto;
margin-right: auto;
width: auto;
}
</style>

Loading…
Cancel
Save