浏览代码

fit image to filter preview

image had weird aspect ratio before (fixed 100x60)
trwnh 6 年之前
父节点
当前提交
4a0ae2ec43
共有 1 个文件被更改,包括 4 次插入0 次删除
  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;