diff --git a/packages/frontend/components/layout/Sidebar.tsx b/packages/frontend/components/layout/Sidebar.tsx index 6a185bb4..11360c5e 100644 --- a/packages/frontend/components/layout/Sidebar.tsx +++ b/packages/frontend/components/layout/Sidebar.tsx @@ -11,6 +11,7 @@ import { Text, TextInput, ThemeIcon, + Tooltip, useMantineColorScheme, } from "@mantine/core"; @@ -414,12 +415,11 @@ export default function Sidebar() { component="button" size="xs" variant="unstyled" - w="fit-content" + w={"100%"} fw={500} fz="xl" type="button" style={{ - wordBreak: "break-all", textOverflow: "ellipsis", overflow: "hidden", }} @@ -433,9 +433,23 @@ export default function Sidebar() { onClick={() => combobox.toggleDropdown()} rightSectionPointerEvents="none" > - {project?.name || ( - Select project - )} + + {project?.name ? ( + + {project.name} + + ) : ( + Select project + )} +