Skip to content

Commit 7e81424

Browse files
committed
style: minor fixes + remove some unnecessary style classes
1 parent f6d3177 commit 7e81424

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

web/src/components/LightButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const LightButton: React.FC<ILightButton> = ({ text, Icon, onClick, disabled, cl
1616
variant="primary"
1717
small
1818
className={cn(
19-
"p-2 rounded-[7px]",
19+
"p-2 rounded-[7px]!",
2020
"bg-transparent hover:bg-white-low-opacity-strong transition duration-100",
2121
"[&_.button-text]:text-klerosUIComponentsPrimaryText [&_.button-text]:font-normal",
2222
"lg:[&_.button-svg]:mr-0",

web/src/layout/Header/navbar/Menu/Settings/Notifications/FormContactDetails/EmailVerificationInfo.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,10 @@ const EmailVerificationInfo: React.FC<IEmailInfo> = ({ toggleIsSettingsOpen }) =
4343
We sent you a verification email. Please, verify it.
4444
<br /> Didn’t receive the email?{" "}
4545
<Button
46+
variant="secondary"
4647
className={clsx(
47-
"inline-block bg-transparent p-0 focus:bg-transparent hover:bg-transparent",
48-
"[&_.button-text]:text-sm [&_.button-text]:font-normal [&_.button-text]:text-klerosUIComponentsPrimaryBlue"
48+
"inline-block bg-transparent p-0 border-none focus:bg-transparent hover:bg-transparent",
49+
"[&_.button-text]:text-sm [&_.button-text]:font-normal"
4950
)}
5051
text="Resend it"
5152
onClick={resendVerificationEmail}

web/src/layout/Header/navbar/Menu/Settings/Notifications/FormContactDetails/FormContact.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const FormContact: React.FC<IForm> = ({
4141
{contactLabel}
4242
</label>
4343
<TextField
44-
className="flex flex-col items-center w-full [&_input]:text-sm"
44+
className="items-center w-full [&_input]:text-sm"
4545
id="contact-input"
4646
variant={fieldVariant}
4747
value={contactInput}

0 commit comments

Comments
 (0)