diff --git a/app/components/Sidebar/Shared.tsx b/app/components/Sidebar/Shared.tsx index d1443bad20..c2e50111f4 100644 --- a/app/components/Sidebar/Shared.tsx +++ b/app/components/Sidebar/Shared.tsx @@ -59,6 +59,7 @@ function SharedSidebar({ share }: Props) { image={ } + disabled={hideRootNode} onClick={ hideRootNode ? undefined diff --git a/app/components/Sidebar/components/SidebarButton.tsx b/app/components/Sidebar/components/SidebarButton.tsx index 3140429be5..3c3e185fc9 100644 --- a/app/components/Sidebar/components/SidebarButton.tsx +++ b/app/components/Sidebar/components/SidebarButton.tsx @@ -44,7 +44,6 @@ const SidebarButton = React.forwardRef( as="button" ref={ref} role="button" - disabled={!onClick} > {image} @@ -104,12 +103,14 @@ const Button = styled(Flex)<{ ${undraggableOnDesktop()} ${extraArea(4)} - &:not(:disabled):active, - &:not(:disabled):${hover}, - &:not(:disabled)[aria-expanded="true"] { - color: ${s("sidebarText")}; - background: ${s("sidebarActiveBackground")}; - cursor: var(--pointer); + &:not(:disabled) { + &:active, + &:${hover}, + &[aria-expanded="true"] { + color: ${s("sidebarText")}; + background: ${s("sidebarActiveBackground")}; + cursor: var(--pointer); + } } &:last-child { diff --git a/app/scenes/Settings/components/GroupsTable.tsx b/app/scenes/Settings/components/GroupsTable.tsx index 3bf348ce48..384a79e3f1 100644 --- a/app/scenes/Settings/components/GroupsTable.tsx +++ b/app/scenes/Settings/components/GroupsTable.tsx @@ -106,7 +106,7 @@ export function GroupsTable(props: Props) { ); }, - width: "1fr", + width: "1.5fr", sortable: false, }, {