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

Remove some warning in CI #950

Merged
merged 1 commit into from
Sep 9, 2023
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion dashboard/components/onboarding-wizard/PurplinCloud.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function PurplinCloud({ provider }: { provider: Provider }) {
width={500}
height={120}
/>
<div className="absolute top-[53%] left-[48%] -translate-x-1/2 -translate-y-1/2 transform rounded-full">
<div className="absolute left-[48%] top-[53%] -translate-x-1/2 -translate-y-1/2 transform rounded-full">
<Image
src={ProviderCls.providerImg(provider) as string}
alt={`${provider} Logo`}
Expand Down
8 changes: 4 additions & 4 deletions dashboard/components/onboarding-wizard/SelectInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ function SelectInput({
return (
<div className="relative">
<div
className="pointer-events-none absolute right-4
bottom-[1.15rem] text-komiser-600 transition-all"
className="pointer-events-none absolute bottom-[1.15rem]
right-4 text-komiser-600 transition-all"
>
{icon}
</div>
Expand All @@ -61,15 +61,15 @@ function SelectInput({
onClick={toggle}
className="fixed inset-0 z-20 hidden animate-fade-in bg-transparent opacity-0 sm:block"
></div>
<div className="absolute top-[96px] z-[21] max-h-52 w-full overflow-hidden overflow-y-auto rounded-lg border border-black-130 bg-white py-2 px-3 shadow-lg">
<div className="absolute top-[96px] z-[21] max-h-52 w-full overflow-hidden overflow-y-auto rounded-lg border border-black-130 bg-white px-3 py-2 shadow-lg">
<div className="flex w-full flex-col gap-1">
{values.map((item, idx) => {
const isActive = value === item;
return (
<button
key={idx}
className={classNames(
'flex items-center rounded py-2 px-3 text-left text-sm text-black-400 hover:bg-black-150',
'flex items-center rounded px-3 py-2 text-left text-sm text-black-400 hover:bg-black-150',
{ 'bg-komiser-150': isActive }
)}
onClick={() => handleClick(item)}
Expand Down
2 changes: 1 addition & 1 deletion dashboard/components/select/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function Select({
onClick={toggle}
className="fixed inset-0 z-20 hidden animate-fade-in bg-transparent opacity-0 sm:block"
></div>
<div className="absolute top-[66px] z-[21] max-h-52 w-full overflow-hidden overflow-y-auto rounded-lg border border-black-130 bg-white py-2 px-3 shadow-lg">
<div className="absolute top-[66px] z-[21] max-h-52 w-full overflow-hidden overflow-y-auto rounded-lg border border-black-130 bg-white px-3 py-2 shadow-lg">
<div className="flex w-full flex-col gap-1">
{values.map((item, idx) => {
const isActive = value === item;
Expand Down
2 changes: 1 addition & 1 deletion dashboard/pages/onboarding/provider/kubernetes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const options: SelectOptions[] = [
icon: <DocumentTextIcon />,
label: 'Credentials File',
value: 'credentials-file'
},
}
];

export default function KubernetesCredentials() {
Expand Down