Skip to content

Commit

Permalink
Update context dropdown element height
Browse files Browse the repository at this point in the history
  • Loading branch information
gtsiolis committed Feb 3, 2023
1 parent 35f8954 commit 8014669
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion components/dashboard/src/components/DropDown2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export const DropDown2: FunctionComponent<DropDown2Props> = (props) => {
key={element.id}
id={element.id}
tabIndex={0}
className={"h-16 rounded-lg flex items-center px-2 " + selectionClasses}
className={"h-min rounded-lg flex items-center px-2 " + selectionClasses}
onMouseDown={() => {
if (element.isSelectable) {
setFocussedElement(element.id);
Expand Down
4 changes: 2 additions & 2 deletions components/dashboard/src/components/RepositoryFinder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default function RepositoryFinder(props: RepositoryFinderProps) {
({
id: e,
element: (
<div className="flex-col ml-1 mt-1 flex-grow">
<div className="flex-col ml-1 flex-grow">
<div className="flex">
<div className="text-gray-700 dark:text-gray-300 font-semibold">
{stripOffProtocol(e)}
Expand All @@ -73,7 +73,7 @@ export default function RepositoryFinder(props: RepositoryFinderProps) {
<div className="mx-2 my-2">
<img className="w-8 filter-grayscale self-center" src={Repository} alt="logo" />
</div>
<div className="flex-col ml-1 mt-1 flex-grow">
<div className="flex-col ml-1 flex-grow">
<div className="flex font-semibold text-gray-700">
<div className="text-gray-700 dark:text-gray-300">Context URL</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion components/dashboard/src/components/SelectIDEComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function IdeOptionElementSelected({ option, useLatest }: IdeOptionElementProps):
<div className="mx-2 my-2">
<img className="w-8 filter-grayscale self-center" src={Editor} alt="logo" />
</div>
<div className="flex-col ml-1 mt-1 flex-grow">
<div className="flex-col ml-1 flex-grow">
<div className="text-gray-700 dark:text-gray-300 font-semibold">Editor</div>
<div className="flex text-xs text-gray-500 dark:text-gray-400">
<div className="font-semibold">{title}</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function WorkspaceClassDropDownElementSelected(props: { wsClass?: SupportedWorks
<div className="mx-2 my-2">
<img className="w-8 filter-grayscale self-center" src={WorkspaceClass} alt="logo" />
</div>
<div className="flex-col ml-1 mt-1 flex-grow">
<div className="flex-col ml-1 flex-grow">
<div className="text-gray-700 dark:text-gray-300 font-semibold">Class</div>
<div className="flex text-xs text-gray-500 dark:text-gray-400">
<div className="font-semibold">{title}</div>
Expand Down

0 comments on commit 8014669

Please sign in to comment.