Skip to content

Commit

Permalink
FIX | modal too long (#63)
Browse files Browse the repository at this point in the history
* fix: add scroll bar, pai add style kan ao aeng na

* fix: fix navbar padding

* fix: fix navbar padding

---------

Co-authored-by: Chaksawat <88503339+Nonene2546@users.noreply.github.com>
  • Loading branch information
Kittonn and Nonene2546 authored Nov 23, 2024
1 parent c86fbe5 commit be20d49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/modules/home/_components/company-info-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ export function CompanyInfoModal({
</div>
{/* <div className="pt-2 text-orange-300">{type}</div> */}
</DialogTitle>
<DialogDescription>
<div>{description}</div>
<DialogDescription className="m-0 max-h-[30vh] overflow-y-auto p-[2px] pr-[5px]">
<p>{description}</p>
{contact && (
<div className="mt-2">
<span className="font-medium text-black">
Expand Down
2 changes: 1 addition & 1 deletion src/shared/components/navbar/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function NavBar() {
const currenSection = useCurrentSectionStore((state) => state.currentSection);

return (
<nav className="fixed top-0 z-10 flex w-full items-center justify-between bg-linear-orange-gray px-8 py-8 text-lg backdrop-blur-[100px] lg:px-12 lg:text-xl">
<nav className="fixed top-0 z-10 flex w-full items-center justify-between bg-linear-orange-gray px-5 py-5 text-lg backdrop-blur-[100px] lg:px-8 lg:text-xl">
<h1 className="text-xl font-bold lg:text-2xl">CE Smart Career 2024</h1>

<Root onOpenChange={(open) => setIsMenuOpen(open)}>
Expand Down

0 comments on commit be20d49

Please sign in to comment.