mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
[FED-1018] chore: workspace dropdown improvement (#2891)
* fix: workspace dropdown improvement * style: sidebar workspace icon alignment
This commit is contained in:
parent
21e32ce863
commit
8062800bd9
@ -97,11 +97,11 @@ export const WorkspaceSidebarDropdown = observer(() => {
|
|||||||
<>
|
<>
|
||||||
<Menu.Button className="group/menu-button text-custom-sidebar-text-200 rounded-md hover:bg-custom-sidebar-background-80 text-sm font-medium focus:outline-none w-full h-full truncate">
|
<Menu.Button className="group/menu-button text-custom-sidebar-text-200 rounded-md hover:bg-custom-sidebar-background-80 text-sm font-medium focus:outline-none w-full h-full truncate">
|
||||||
<div
|
<div
|
||||||
className={`flex items-center justify-between gap-x-2 rounded p-1 truncate ${
|
className={`flex items-center gap-x-2 rounded p-1 truncate ${
|
||||||
sidebarCollapsed ? "justify-center" : ""
|
sidebarCollapsed ? "justify-center" : "justify-between"
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
<div className="flex items-center gap-2">
|
<div className="flex items-center gap-2 truncate">
|
||||||
<div
|
<div
|
||||||
className={`relative grid h-6 w-6 place-items-center uppercase flex-shrink-0 ${
|
className={`relative grid h-6 w-6 place-items-center uppercase flex-shrink-0 ${
|
||||||
!activeWorkspace?.logo && "rounded bg-custom-primary-500 text-white"
|
!activeWorkspace?.logo && "rounded bg-custom-primary-500 text-white"
|
||||||
|
Loading…
Reference in New Issue
Block a user