Skip to content

Commit

Permalink
fix: breadcrumb alignment fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
matusmlichsk committed Nov 15, 2024
1 parent 83193e5 commit 4805996
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions Src/WitsmlExplorer.Frontend/components/Breadcrumbs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -401,19 +401,20 @@ const StyledNavLink = styled(NavLink)`
`;

const StyledBreadcrumbs = styled(EdsBreadcrumbs)<{ $isCompact: boolean }>`
padding-top: 0.2em;
height: 1.5rem;
overflow: clip;
display: flex;
justify-content: flex-start;
align-items: center;
height: fit-content;
li > span {
display: inline-flex;
}
${({ $isCompact }) =>
!$isCompact
? ""
: css`
display: flex;
justify-content: flex-start;
align-items: center;
padding-top: 0;
li > span {
font-size: 0.8rem;
}
Expand Down

0 comments on commit 4805996

Please sign in to comment.