fix: add project button alignment (#5204)
This commit is contained in:
parent
7af9c7bc33
commit
66aedafe8a
1 changed files with 6 additions and 1 deletions
|
|
@ -304,7 +304,12 @@ export const SidebarProjectsList: FC = observer(() => {
|
|||
{isAuthorizedUser && joinedProjects?.length === 0 && (
|
||||
<button
|
||||
type="button"
|
||||
className="w-full flex items-center gap-1.5 px-2 py-1.5 text-sm leading-5 font-medium text-custom-sidebar-text-200 hover:bg-custom-sidebar-background-90 rounded-md"
|
||||
className={cn(
|
||||
`w-full flex items-center gap-1.5 px-2 py-1.5 text-sm leading-5 font-medium text-custom-sidebar-text-200 hover:bg-custom-sidebar-background-90 rounded-md`,
|
||||
{
|
||||
"p-0 size-8 aspect-square justify-center mx-auto": sidebarCollapsed,
|
||||
}
|
||||
)}
|
||||
onClick={() => {
|
||||
setTrackElement("Sidebar");
|
||||
toggleCreateProjectModal(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue