mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2026-03-01 12:44:17 +00:00
layout sidebar
This commit is contained in:
parent
903469eb51
commit
aba99d5d50
@ -78,7 +78,8 @@ export function SideBar({ routes, bottomRoutes }: { routes: Route[]; bottomRoute
|
||||
{(location.pathname.includes(route.path) && route.path.length > 1) ||
|
||||
location.pathname === route.path ? (
|
||||
<span
|
||||
className='tw:absolute tw:inset-y-0 tw:left-0 tw:w-1 tw:rounded-tr-md tw:rounded-br-md tw:bg-primary '
|
||||
className='tw:absolute tw:inset-y-0 tw:left-0 tw:w-1 tw:rounded-tr-md tw:rounded-br-md'
|
||||
style={{ backgroundColor: route.color ?? '#777' }}
|
||||
aria-hidden='true'
|
||||
></span>
|
||||
) : null}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user