Skip to content

Commit

Permalink
chore: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
norbert-berenyi committed Feb 29, 2024
1 parent 5ffb494 commit c832f0b
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 37 deletions.
4 changes: 1 addition & 3 deletions src/components/BundleForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@ const BundleForm = forwardRef<BundleFormMethods, BundleFormProps>(
<form ref={formRef} className="" onSubmit={onSubmit}>
<div className="space-y-12 sm:space-y-16">
<div>
<h2 className="text-[28px] font-semibold text-blue">
{title}
</h2>
<h2 className="text-[28px] font-semibold text-blue">{title}</h2>
<p className="mt-4 text-sm text-grey">{description}</p>

<div className="mt-[30px] space-y-3 border-t border-dotted border-lightgrey py-[30px] sm:border-t sm:pb-0">
Expand Down
5 changes: 1 addition & 4 deletions src/components/DepositSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ export const DepositSection: React.FC<unknown> = () => {

return (
<div className="sm:grid sm:grid-cols-1 sm:items-start sm:gap-1.5 sm:py-3">
<label
htmlFor="description"
className="text-sm font-medium text-blue"
>
<label htmlFor="description" className="text-sm font-medium text-blue">
Deposit
</label>
<div className="">
Expand Down
4 changes: 1 addition & 3 deletions src/components/ParamsTypeSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,7 @@ const ParamsTypeSelector = <T, R extends FormValue[] | undefined>({
</p>
{selected ? (
<span
className={
active ? "text-white" : "text-red"
}
className={active ? "text-white" : "text-red"}
>
<CheckIcon
className="h-5 w-5"
Expand Down
4 changes: 1 addition & 3 deletions src/components/ProposalForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,7 @@ const ProposalForm = forwardRef<ProposalFormMethods, ProposalFormProps>(
<form ref={formRef} className="" onSubmit={onSubmit}>
<div className="space-y-12 sm:space-y-16">
<div>
<h2 className="text-[28px] font-semibold text-blue">
{title}
</h2>
<h2 className="text-[28px] font-semibold text-blue">{title}</h2>
<p className="mt-4 text-sm text-grey">{description}</p>

<div className="mt-[30px] border-t border-dotted border-lightgrey py-[20px] sm:border-t sm:pb-0">
Expand Down
10 changes: 2 additions & 8 deletions src/components/TitleDescriptionInputs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ export const TitleDescriptionInputs = ({
}) => (
<>
<div className="sm:grid sm:grid-cols-1 sm:items-start sm:gap-1.5 sm:pt-3">
<label
htmlFor="title"
className="block text-sm font-medium text-blue"
>
<label htmlFor="title" className="block text-sm font-medium text-blue">
Title
</label>
<div>
Expand All @@ -26,10 +23,7 @@ export const TitleDescriptionInputs = ({
</div>

<div className="sm:grid sm:grid-cols-1 sm:items-start sm:gap-1.5 sm:pt-3">
<label
htmlFor="description"
className="text-sm font-medium text-blue"
>
<label htmlFor="description" className="text-sm font-medium text-blue">
Description
</label>

Expand Down
20 changes: 4 additions & 16 deletions src/config/inter/components/PSMParameterInputs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ import { IBCDenomInput } from "../../../components/IBCDenomInput";
const PSMParameterInputs = () => (
<div className="mt-10 space-y-8 border-gray-900/10 pb-12 sm:space-y-0 sm:border-t border-dashed sm:pb-0">
<div className="sm:grid sm:grid-cols-1 sm:items-start sm:gap-2 sm:py-6">
<label
htmlFor="denomTrace"
className="text-sm font-medium text-blue"
>
<label htmlFor="denomTrace" className="text-sm font-medium text-blue">
IBC Denom
</label>
<div className="">
Expand All @@ -15,10 +12,7 @@ const PSMParameterInputs = () => (
</div>

<div className="sm:grid sm:grid-cols-1 sm:items-start sm:gap-2 sm:py-6">
<label
htmlFor="decimalPlaces"
className="text-sm font-medium text-blue"
>
<label htmlFor="decimalPlaces" className="text-sm font-medium text-blue">
Decimal Places
</label>
<div className="">
Expand All @@ -38,10 +32,7 @@ const PSMParameterInputs = () => (
</div>

<div className="sm:grid sm:grid-cols-1 sm:items-start sm:gap-2 sm:py-6">
<label
htmlFor="description"
className="text-sm font-medium text-blue"
>
<label htmlFor="description" className="text-sm font-medium text-blue">
Issuer Keyword
</label>
<div className="">
Expand All @@ -59,10 +50,7 @@ const PSMParameterInputs = () => (
</div>

<div className="sm:grid sm:grid-cols-1 sm:items-start sm:gap-2 sm:py-6">
<label
htmlFor="description"
className="text-sm font-medium text-blue"
>
<label htmlFor="description" className="text-sm font-medium text-blue">
Proposed Name
</label>
<div className="">
Expand Down

0 comments on commit c832f0b

Please sign in to comment.