Skip to content

Commit

Permalink
💄 ui: adjust max height of vertical tab layout
Browse files Browse the repository at this point in the history
The max height of the vertical tab list is increased from 135px to 181px to better
accommodate tab content and prevent unnecessary scroll bars
  • Loading branch information
w3bdesign committed Dec 17, 2024
1 parent d8cab3a commit 650681e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/UI/Tabs.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const Tabs: React.FC<TabsProps> = ({ tabs, orientation = "vertical" }) => {
className={`flex ${isVertical ? "flex-col sm:flex-row" : "flex-col"} bg-gray-800 rounded-lg h-[calc(75vh-2rem)] mt-4`}
>
<div
className={`${isVertical ? "sm:w-1/4 w-full" : "w-full"} bg-gray-700 ${isVertical ? "max-h-[135px] " : ""}`}
className={`${isVertical ? "sm:w-1/4 w-full" : "w-full"} bg-gray-700 ${isVertical ? "max-h-[181px] " : ""}`}
>
<div
className={`flex ${isVertical ? "flex-row sm:flex-col" : "flex-row"}`}
Expand Down

0 comments on commit 650681e

Please sign in to comment.