Browse Source

fit image to filter preview

image had weird aspect ratio before (fixed 100x60)
trwnh 6 years ago
parent
commit
4a0ae2ec43
1 changed files with 4 additions and 0 deletions
  1. 4 0
      resources/assets/sass/custom.scss

+ 4 - 0
resources/assets/sass/custom.scss

@@ -503,6 +503,10 @@ details summary::-webkit-details-marker {
     box-sizing: content-box;
 }
 
+.media-drawer-filters img {
+    object-fit: contain;
+}
+
 .reply-container {
     .post-thumbnail {
         object-fit: cover;