瀏覽代碼

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;