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:
interlope committed 2026-06-02 18:27:56 +02:00
1 parent aa956d0016
commit ca0a9d5cb3
2 files changed
+15 -4

No files matched your search

+4
View File
@@ -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';