fix: file-menu buttons were missing class file-menu-button
Massimo Melina committed
Jun 10, 2025 at 18:10 UTC
59ee02c3e47144db6c8e82d4144d01b3a998dfd6
1 file changed
+1
-1
frontend/src/components.ts
+1
-1
@@ -121,7 +121,7 @@ export function iconBtn(icon: string, onClick: MouseEventHandler, { title, ...pr
121
title: title ?? t(_.capitalize(icon)),
122
onClick,
123
...props,
124
- className: 'icon-button',
124
+ className: 'icon-button ' + (props.className || ''),
125
}, icon.length > 1 ? hIcon(icon) : icon )
126
}
127