소스 검색

style(shortcode): enable lightbox to be used with non-gallery images (#1145)

Russell J. Hewett 6 년 전
부모
커밋
f2ba31b0ec
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      assets/sass/academic/_root.scss

+ 1 - 1
assets/sass/academic/_root.scss

@@ -280,7 +280,7 @@ a[data-fancybox] {
   text-decoration: none;
 }
 
-a[data-fancybox] img {
+.gallery a[data-fancybox] img {
   height: 250px;
   max-width: inherit;
   display: inherit;