Skip to content

Commit

Permalink
fix centered notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianChiarulli committed Jul 6, 2024
1 parent 7cb1974 commit 877d8f1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions frontend/src/components/sidebar/NotebookComboBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,11 @@ export function NotebookComboBox() {
</span>
) : (
<span className="flex w-full cursor-pointer items-center justify-between rounded-md bg-muted p-2 text-sm font-medium text-secondary-foreground">
<NotebookIcon className="mr-1.5 h-[1.2rem] w-[1.2rem] shrink-0" />
<span className="line-clamp-1 select-none truncate text-ellipsis whitespace-break-spaces break-all font-semibold text-primary">
{activeNotebook.Name}
<span className="flex">
<NotebookIcon className="mr-1.5 h-[1.2rem] w-[1.2rem] shrink-0" />
<span className="line-clamp-1 select-none truncate text-ellipsis whitespace-break-spaces break-all font-semibold text-primary">
{activeNotebook.Name}
</span>
</span>
<ChevronsUpDown className="h-4 w-4 shrink-0" />
</span>
Expand Down

0 comments on commit 877d8f1

Please sign in to comment.