Skip to content

Commit

Permalink
fix(ui): issues at 700px (#924)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmuntaqim authored Jan 13, 2025
1 parent 8a7ad97 commit c48365e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions react-app/src/components/BreadCrumb/BreadCrumb.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,12 @@ export const BreadCrumbSeperator = () => <ChevronRight className="w-5 h-5" />;

export const BreadCrumbBar = ({ children }: React.PropsWithChildren) => {
return (
<nav role="navigation" aria-label="breadcrumbs for spa or waiver choices" className="my-4">
<ul className="flex gap-1">{children}</ul>
<nav
role="navigation"
aria-label="breadcrumbs for spa or waiver choices"
className="my-4"
>
<ul className="flex flex-wrap gap-1">{children}</ul>
</nav>
);
};
2 changes: 1 addition & 1 deletion react-app/src/components/SearchForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const SearchForm: FC<{
)}
{!!searchText && (
<XIcon
className="absolute cursor-pointer top-0 bottom-0 w-6 h-6 my-auto left-[28rem]"
className="absolute cursor-pointer top-0 bottom-0 w-6 h-6 my-auto right-0 lg:left-[28rem] xl:left-[55%]"
data-testid="close-icon"
onClick={() => {
setSearchText("");
Expand Down

0 comments on commit c48365e

Please sign in to comment.