forked from github/plane
[WEB-1476] style: fix padding on project icon in workspace sidebar. (#4631)
This commit is contained in:
parent
26ba4a409b
commit
83c8338c64
@ -287,7 +287,7 @@ export const ProjectSidebarListItem: React.FC<Props> = observer((props) => {
|
|||||||
"group relative flex w-full items-center rounded-md py-1 text-custom-sidebar-text-100 hover:bg-custom-sidebar-background-80",
|
"group relative flex w-full items-center rounded-md py-1 text-custom-sidebar-text-100 hover:bg-custom-sidebar-background-80",
|
||||||
{
|
{
|
||||||
"bg-custom-sidebar-background-80": isMenuActive,
|
"bg-custom-sidebar-background-80": isMenuActive,
|
||||||
"pl-8": disableDrag,
|
"pl-7": disableDrag && !isCollapsed,
|
||||||
}
|
}
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
@ -327,7 +327,7 @@ export const ProjectSidebarListItem: React.FC<Props> = observer((props) => {
|
|||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className={cn("flex w-full flex-grow items-center gap-1 truncate -ml-1", {
|
className={cn("flex w-full flex-grow items-center gap-1 truncate", {
|
||||||
"justify-center": isCollapsed,
|
"justify-center": isCollapsed,
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user