Skip to content

Commit

Permalink
fix(OY2-28003): package ID text wrap + responsiveness (#593)
Browse files Browse the repository at this point in the history
* fix(OY2-28003): package ID text wrap + responsiveness
  • Loading branch information
pkim-gswell authored Jun 25, 2024
1 parent d732155 commit e129441
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 5 additions & 1 deletion src/services/ui/src/components/BreadCrumb/BreadCrumb.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ export const BreadCrumb = ({
{children}
</Link>
)}
{!active && <span aria-disabled>{children}</span>}
{!active && (
<span className="whitespace-nowrap" aria-disabled>
{children}
</span>
)}
</li>
);
};
Expand Down
8 changes: 5 additions & 3 deletions src/services/ui/src/features/package/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,12 @@ export const Details = () => {
const id = query.get("id") as string;

return (
<div className="max-w-screen-xl mx-auto flex px-4 lg:px-8">
<div className="hidden lg:block">
<div className="max-w-screen-xl mx-auto flex flex-col lg:flex-row px-4 lg:px-8">
<div>
<BreadCrumbs options={detailsAndActionsCrumbs({ id })} />
<DetailsSidebar id={id} />
<div className="hidden lg:block">
<DetailsSidebar id={id} />
</div>
</div>
<DetailsContent id={id} />
</div>
Expand Down

0 comments on commit e129441

Please sign in to comment.