From c3b3058ab387a031460e829895dc7f0eb10b9937 Mon Sep 17 00:00:00 2001 From: XPoet Date: Mon, 26 Sep 2022 22:33:29 +0800 Subject: [PATCH] style: update tools side icon --- layout/_partial/side-tools.ejs | 2 +- source/js/utils.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/layout/_partial/side-tools.ejs b/layout/_partial/side-tools.ejs index c9014e5..5baeca1 100644 --- a/layout/_partial/side-tools.ejs +++ b/layout/_partial/side-tools.ejs @@ -9,7 +9,7 @@
  • - +
  • diff --git a/source/js/utils.js b/source/js/utils.js index 58ddab0..ac6fb72 100644 --- a/source/js/utils.js +++ b/source/js/utils.js @@ -135,13 +135,13 @@ KEEP.initUtils = () => { KEEP.styleStatus.isExpandPageWidth = isExpand; KEEP.setStyleStatus(); if (isExpand) { - iconDom.classList.remove('fa-arrows-alt-h'); - iconDom.classList.add('fa-compress-arrows-alt'); + iconDom.classList.remove('fa-up-right-and-down-left-from-center'); + iconDom.classList.add('fa-down-left-and-up-right-to-center'); headerContentDom.style.maxWidth = expandMaxWidth; mainContentDom.style.maxWidth = expandMaxWidth; } else { - iconDom.classList.remove('fa-compress-arrows-alt'); - iconDom.classList.add('fa-arrows-alt-h'); + iconDom.classList.remove('fa-down-left-and-up-right-to-center'); + iconDom.classList.add('fa-up-right-and-down-left-from-center'); headerContentDom.style.maxWidth = headerMaxWidth; mainContentDom.style.maxWidth = defaultMaxWidth; }