openxiangda 1.0.63 → 1.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -235,12 +235,22 @@ export function AdminShell() {
|
|
|
235
235
|
{mobileOpen ? (
|
|
236
236
|
<div className="fixed inset-0 z-40 lg:hidden">
|
|
237
237
|
<button
|
|
238
|
-
aria-label="
|
|
238
|
+
aria-label="关闭导航遮罩"
|
|
239
239
|
className="absolute inset-0 bg-slate-950/35"
|
|
240
240
|
onClick={() => setMobileOpen(false)}
|
|
241
241
|
type="button"
|
|
242
242
|
/>
|
|
243
|
-
<div className="relative h-full w-[min(22rem,88vw)]">
|
|
243
|
+
<div className="relative h-full w-[min(22rem,88vw)]">
|
|
244
|
+
<button
|
|
245
|
+
aria-label="关闭导航"
|
|
246
|
+
className="absolute right-3 top-3 z-50 grid h-10 w-10 place-items-center rounded-xl bg-slate-100 text-slate-700 shadow-sm ring-1 ring-slate-200"
|
|
247
|
+
onClick={() => setMobileOpen(false)}
|
|
248
|
+
type="button"
|
|
249
|
+
>
|
|
250
|
+
<X size={19} />
|
|
251
|
+
</button>
|
|
252
|
+
{sidebar}
|
|
253
|
+
</div>
|
|
244
254
|
</div>
|
|
245
255
|
) : null}
|
|
246
256
|
|