From 5017b8d4dee19ce8610f5df0dfe813834d144443 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Sun, 27 Nov 2022 21:44:34 +0800 Subject: [PATCH] [opt] css --- source/css/_layout/partial/paginator.styl | 2 +- source/js/main.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/css/_layout/partial/paginator.styl b/source/css/_layout/partial/paginator.styl index c5901f7..a0808ba 100644 --- a/source/css/_layout/partial/paginator.styl +++ b/source/css/_layout/partial/paginator.styl @@ -9,7 +9,7 @@ border-radius: $border-card overflow: hidden box-shadow: 0 2px 8px 0px rgba(0, 0, 0, 0.03) - a.page-number + .page-number padding: 4px 8px border-radius: 8px background: var(--block) diff --git a/source/js/main.js b/source/js/main.js index 0b11b9d..07fe333 100644 --- a/source/js/main.js +++ b/source/js/main.js @@ -209,7 +209,7 @@ if (stellar.plugins.lazyload) { false ); document.addEventListener('DOMContentLoaded', function () { - lazyLoadInstance.update(); + window.lazyLoadInstance?.update(); }); }