mirror of https://github.com/vtrois/kratos
fix: config error in lightgallery (#417)
parent
037d596270
commit
bfcecd209b
|
@ -167,7 +167,7 @@
|
||||||
|
|
||||||
var lightGalleryConfig = function () {
|
var lightGalleryConfig = function () {
|
||||||
lightGallery(document.getElementById('lightgallery'), {
|
lightGallery(document.getElementById('lightgallery'), {
|
||||||
selector: 'a'
|
selector: 'a[href$=".jpg"], a[href$=".jpeg"], a[href$=".png"], a[href$=".gif"], a[href$=".bmp"], a[href$=".webp"]'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ License URI: https://github.com/vtrois/kratos/blob/main/LICENSE
|
||||||
7. 文章正文
|
7. 文章正文
|
||||||
8. 内容工具区
|
8. 内容工具区
|
||||||
9. 文章评论
|
9. 文章评论
|
||||||
10. 小工具
|
10. 小工具
|
||||||
11. 404
|
11. 404
|
||||||
12. 页脚
|
12. 页脚
|
||||||
|
|
||||||
|
@ -1318,6 +1318,10 @@ ol {
|
||||||
padding: 5px 15px;
|
padding: 5px 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.lg-outer {
|
||||||
|
z-index: 999999;
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 768px) {
|
@media screen and (max-width: 768px) {
|
||||||
.k-main .details .article .header {
|
.k-main .details .article .header {
|
||||||
padding: 0 16px 12px;
|
padding: 0 16px 12px;
|
||||||
|
|
Loading…
Reference in New Issue