Skip to content

Commit

Permalink
Max width
Browse files Browse the repository at this point in the history
  • Loading branch information
w3bdesign committed Jul 24, 2024
1 parent 8af0338 commit c69c003
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/CV/CVContent.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const CVContent: React.FC<CVContentProps> = ({ cvData }) => {
<div className="container mx-auto bg-slate-700 rounded shadow sm:mb-4">
<div className="p-4 mx-auto md:h-full mt-4 flex flex-col justify-center items-center md:min-h-[540px] min-h-[350px]">
<div className="p-4 text-lg rounded md:w-full">
<div className="md:block hidden">
<div className="md:flex md:justify-center hidden">
<Tabs tabs={tabs} />
</div>
<div className="mx-auto text-center md:mt-8">
Expand Down
2 changes: 1 addition & 1 deletion src/components/UI/Tabs.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const Tabs: React.FC<TabsProps> = ({ tabs, orientation = "vertical" }) => {
const isVertical = orientation === "vertical";

return (
<div className="bg-gray-800 p-6 rounded-lg">
<div className="bg-gray-800 p-6 rounded-lg md:max-w-[1000px]">
<div
className={`flex ${isVertical ? "flex-col sm:flex-row" : "flex-col"} bg-gray-800 rounded-lg h-[calc(65vh-8rem)]`}
>
Expand Down

0 comments on commit c69c003

Please sign in to comment.