Skip to content

Commit

Permalink
[UI] CreateWorkspace Overflow bug fix (#18854)
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddhant-K-code authored Oct 2, 2023
1 parent 20ff1be commit 9179f65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/dashboard/src/components/DropDown2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ export const DropDown2SelectedElement: FC<DropDown2SelectedElementProps> = ({
<>{icon}</>
)}
</div>
<div className="flex-col ml-1 flex-grow">
<div className="flex-col ml-1 flex-grow max-w-xs">
{loading ? (
<div className="flex-col space-y-2">
<div className="bg-gray-300 dark:bg-gray-500 h-4 w-24 rounded" />
Expand All @@ -310,7 +310,7 @@ export const DropDown2SelectedElement: FC<DropDown2SelectedElementProps> = ({
) : (
<>
<div className="text-gray-700 dark:text-gray-300 font-semibold">{title}</div>
<div className="text-xs text-gray-500 dark:text-gray-400">{subtitle}</div>
<div className="text-xs text-gray-500 dark:text-gray-400 truncate">{subtitle}</div>
</>
)}
</div>
Expand Down

0 comments on commit 9179f65

Please sign in to comment.