fixed main page admin button styling

This commit is contained in:
2026-05-14 11:11:39 +02:00
parent 23ea30cfe8
commit 04b0326778
2 changed files with 6 additions and 4 deletions
@@ -4,11 +4,13 @@ import AssetManager from './admin/AssetManager';
interface Props {
className?: string;
label?: string;
iconSize?: number;
}
export default function AssetsButton({
className = 'inline-flex items-center gap-2 bg-surface0 hover:bg-surface1 text-subtext1 hover:text-text px-3 py-2 rounded-lg border border-surface1 transition-colors text-sm',
label = 'Assets',
iconSize = 14,
}: Props) {
const [open, setOpen] = useState(false);
@@ -31,8 +33,8 @@ export default function AssetsButton({
<button type="button" onClick={() => setOpen(true)} className={className}>
<svg
xmlns="http://www.w3.org/2000/svg"
width="14"
height="14"
width={iconSize}
height={iconSize}
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"