소스 검색

Merge pull request #1239 from pixelfed/trwnh-filter-preview

fit image to filter preview
daniel 6 년 전
부모
커밋
ec5f6067b0
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      resources/assets/sass/custom.scss

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

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