Merge remote-tracking branch 'upstream/dev' into dev

This commit is contained in:
thororen1234 2025-10-22 18:36:15 -04:00
commit 7cd410eb7b
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View file

@ -171,10 +171,11 @@ export default definePlugin({
},
wrapMap(toWrap: any[]) {
const otherOptions = getIntlMessage("OTHER_OPTIONS");
// @ts-expect-error
toWrap.map = function (render: (item: SettingsEntry) => ReactElement<any>) {
return this
.filter(a => a.items.length > 0)
.filter(a => a.items.length > 0 && a.label !== otherOptions)
.map(({ label, items }) => {
const children = items.map(render);
if (label) {

View file

@ -1,4 +1,3 @@
/* make gap smaller since we're adding an extra button */
[class^="panels"] [class^="buttons"] {
gap: 4px;
[class^="panels"] [class^="avatarWrapper_"] {
min-width: 0;
}