feat: enhance plugin categories layout for better text handling and responsiveness
feat: improve back-to-top button visibility by conditionally rendering on content pages only
This commit is contained in:
1 parent
aa956d0016
commit
ca0a9d5cb3
2 files changed
+15
-4
No files matched your search
@@ -757,8 +757,12 @@
|
||||
|
||||
/* --------------------------------------------------------
|
||||
Back-to-top button — appears after scrolling down.
|
||||
Only on article/page views (where there's .content to read), not on the
|
||||
homepage post list.
|
||||
-------------------------------------------------------- */
|
||||
(function () {
|
||||
if (!document.querySelector('.content')) return;
|
||||
|
||||
var btn = document.createElement('button');
|
||||
btn.type = 'button';
|
||||
btn.className = 'back-to-top';
|
||||
|
||||
Reference in new issue
Block a user