Fix text overflow of settings buttons and shrinking of icons #2201

This commit is contained in:
DianaXWiki 2026-02-25 12:55:41 +02:00
parent 32956fcdde
commit fc3bd0d5ce
2 changed files with 13 additions and 1 deletions

View File

@ -65,6 +65,18 @@
}
#cp-sidebarlayout-container {
#cp-sidebarlayout-leftside {
.cp-sidebarlayout-category {
white-space: nowrap;
svg {
flex: 0 0 auto;
}
.cp-sidebarlayout-category-name {
overflow: hidden;
text-overflow: ellipsis;
}
}
}
#cp-sidebarlayout-rightside {
input, button, span[tabindex="0"] {
&:focus-visible {

View File

@ -2072,7 +2072,7 @@ define([
'data-category': key
}, [
icon,
name,
h('span.cp-sidebarlayout-category-name', name),
])).appendTo($categories);