Skip to content

Commit

Permalink
ensure breadcrumb always same height
Browse files Browse the repository at this point in the history
  • Loading branch information
adriangohjw committed Dec 27, 2024
1 parent 7c297e8 commit b596874
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion apps/studio/src/features/dashboard/components/Dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,13 @@ export const Dashboard = ({
minH="100%"
>
<VStack w="100%" align="start">
<Breadcrumb size="sm" w="100%">
<Breadcrumb
size="sm"
w="100%"
minH="1.25rem" // maintain height even when single breadcrumb
display="flex"
alignItems="center"
>
{allBreadcrumbsExceptLast.map(({ href, label }, index) => {
return (
<BreadcrumbItem key={index}>
Expand Down

0 comments on commit b596874

Please sign in to comment.