From f14f0f81b51a9762e77a75fc2b6c75341373bc3b Mon Sep 17 00:00:00 2001 From: Anyon Date: Mon, 11 Apr 2022 14:19:47 +0800 Subject: [PATCH] Update admin.js --- public/static/admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/static/admin.js b/public/static/admin.js index cfd6ac0aa..56c9f9f19 100644 --- a/public/static/admin.js +++ b/public/static/admin.js @@ -1032,7 +1032,7 @@ $(function () { event.items.push({src: this.dataset.tipsImage || this.dataset.lazySrc || this.src}); }) && layer.photos({ anim: 5, closeBtn: 1, photos: {start: event.$imgs.index(this), data: event.items}, tab: function (pic, $ele) { - $ele.find('.layui-layer-close').css({top: 0, right: 0, position: 'fixed'}); + $ele.find('.layui-layer-close').css({top: '20px', right: '20px', position: 'fixed'}); } }); });