fix(ui): use canonical close icon in admin panel

This commit is contained in:
Codex
2026-07-29 19:12:48 +03:00
parent c00cb16988
commit fac35cc23a
@@ -1,6 +1,7 @@
import type { HTMLAttributes, ReactNode } from "react"; import type { HTMLAttributes, ReactNode } from "react";
import { cn } from "./cn.js"; import { cn } from "./cn.js";
import { SortableList } from "./DragDrop.js"; import { SortableList } from "./DragDrop.js";
import { Icon } from "./Icon.js";
export interface AdminNavigationContext { export interface AdminNavigationContext {
id: string; id: string;
@@ -63,7 +64,7 @@ export function AdminNavigationPanel({
<div className="nodedc-admin-panel__head-actions"> <div className="nodedc-admin-panel__head-actions">
{headerActions} {headerActions}
<button type="button" className="nodedc-admin-panel__close" aria-label={closeLabel} onClick={onClose}> <button type="button" className="nodedc-admin-panel__close" aria-label={closeLabel} onClick={onClose}>
<span className="nodedc-close-mark" aria-hidden="true" /> <Icon name="close" size={16} strokeWidth={1.6} />
</button> </button>
</div> </div>
</header> </header>