Skip to content

Commit

Permalink
Merge pull request #950 from shivam-sharma7/remove-warnigs
Browse files Browse the repository at this point in the history
Remove some warning in CI
  • Loading branch information
mlabouardy authored Sep 9, 2023
2 parents b66dea6 + aa00907 commit 74f6eb7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
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

0 comments on commit 74f6eb7

Please sign in to comment.