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

+11 -4
View File
@@ -1171,11 +1171,18 @@ img.nav-svg-icon {
}
.plugin.plugin-categories li a {
display: block;
/* fill the grid cell and centre the label; tighter side padding + wrapping
so names fit the narrow columns instead of being truncated. Flex + 100%
height keeps both pills in a row the same height when one wraps. */
display: flex;
align-items: center;
justify-content: center;
height: 100%;
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding: 0.3rem 0.55rem;
line-height: 1.25;
overflow-wrap: anywhere;
hyphens: auto;
}
/* Search plugin — target input directly in case the plugin omits form-control */