fix: config error in lightgallery (#417)

pull/420/head
Seaton Jiang 2021-08-21 18:08:33 +08:00
parent 037d596270
commit bfcecd209b
No known key found for this signature in database
GPG Key ID: 0E05070D261ACFEA
2 changed files with 6 additions and 2 deletions

View File

@ -167,7 +167,7 @@
var lightGalleryConfig = function () {
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"]'
})
}

View File

@ -27,7 +27,7 @@ License URI: https://github.com/vtrois/kratos/blob/main/LICENSE
7.
8.
9.
10.
10.
11. 404
12.
@ -1318,6 +1318,10 @@ ol {
padding: 5px 15px;
}
.lg-outer {
z-index: 999999;
}
@media screen and (max-width: 768px) {
.k-main .details .article .header {
padding: 0 16px 12px;