Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UI] CreateWorkspace Overflow bug fix #18854

Merged
merged 1 commit into from
Oct 2, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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