From 8dce78ec6ab20779b777c87c2fb15ab53a41ff84 Mon Sep 17 00:00:00 2001 From: Eltrac Date: Tue, 1 Apr 2025 10:52:52 +0800 Subject: feat: click search instruction to show search input Former-commit-id: dce16efa1c07ce72da3f02e3ffb25a9205f50a07 --- assets/css/components/_postlist.scss | 2 +- layouts/partials/components/global-search.html | 27 +++++++++++++++----------- layouts/partials/components/postnav.html | 2 +- 3 files changed, 18 insertions(+), 13 deletions(-) diff --git a/assets/css/components/_postlist.scss b/assets/css/components/_postlist.scss index f9d526ce..6b7b13d8 100644 --- a/assets/css/components/_postlist.scss +++ b/assets/css/components/_postlist.scss @@ -69,7 +69,7 @@ } } - .search-instruction { + #search-instruction { font-size: 0.9rem; color: var(--secondary-text-color); margin-left: 0.5rem; diff --git a/layouts/partials/components/global-search.html b/layouts/partials/components/global-search.html index c12a6d79..0b929b0a 100644 --- a/layouts/partials/components/global-search.html +++ b/layouts/partials/components/global-search.html @@ -76,19 +76,19 @@ diff --git a/layouts/partials/components/postnav.html b/layouts/partials/components/postnav.html index d7d21cc6..207ea99c 100644 --- a/layouts/partials/components/postnav.html +++ b/layouts/partials/components/postnav.html @@ -6,7 +6,7 @@
  • 分类
  • -
  • +
  • {{ T "searchInstruction" }}
  • -- cgit v1.2.3