mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-11-11 01:10:11 +01:00
patch aria attrib outside element (#1047)
This commit is contained in:
parent
cf5fb4c029
commit
287a1d2213
@ -99,13 +99,15 @@ export function SidebarMobileHeader() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className="fixed top-0 left-0 right-0 z-10 flex justify-between items-center px-4 py-2 bg-sidebar text-slate-200 shadow-lg h-16">
|
<div
|
||||||
|
aria-label="Show sidebar"
|
||||||
|
className="fixed top-0 left-0 right-0 z-10 flex justify-between items-center px-4 py-2 bg-sidebar text-slate-200 shadow-lg h-16"
|
||||||
|
>
|
||||||
<button
|
<button
|
||||||
onClick={() => setShowSidebar(true)}
|
onClick={() => setShowSidebar(true)}
|
||||||
className="rounded-md p-2 flex items-center justify-center text-slate-200"
|
className="rounded-md p-2 flex items-center justify-center text-slate-200"
|
||||||
>
|
>
|
||||||
<List className="h-6 w-6" />
|
<List className="h-6 w-6" />
|
||||||
aria-label="Show sidebar"
|
|
||||||
</button>
|
</button>
|
||||||
<div className="flex items-center justify-center flex-grow">
|
<div className="flex items-center justify-center flex-grow">
|
||||||
<img
|
<img
|
||||||
|
Loading…
Reference in New Issue
Block a user