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

Fix: Fixed checkbox color and alignment #100

Merged
merged 1 commit into from
Dec 18, 2024
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
16 changes: 12 additions & 4 deletions src/pages/Auth/register-page/RegisterPage.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -425,23 +425,31 @@
transform: translateY(-50%);
background-color: transparent;
}
input {
input:not([type="checkbox"]) {
background-color: transparent !important;
border: 1px solid #62636c;
}

input::placeholder {
input:not([type="checkbox"])::placeholder {
color: #62636c;
font-weight: 400;
}
.form-check-input {
height: 16px;
width: 16px;
border: 1px solid white;
border-radius: 5px;
border: 1px solid white !important;
background-color: transparent !important;
position: relative;
top: 3px;
}

.form-check-input:checked {
background-color: var(--bs-primary) !important;
border-color: var(--bs-primary) !important;
}

input:disabled {
input:not([type="checkbox"]):disabled {
opacity: 0.5;
}
</style>
2 changes: 1 addition & 1 deletion src/pages/Auth/verify-magic-code/verify-magic-code.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const isSuccessfulResponseMagicCode = writable(false);
export const handleVerifyUserEmail = async (verifyCodeCredential: verifyMagicCodePostBody) => {

const response = await verifyMagicCode(verifyCodeCredential);
if (response.isSuccessful) {
if (response.isSuccessful) {
errorMessageTextMagicCode.set("");
isSuccessfulResponseMagicCode.set(false); // Ensure this is set to false on success
} else {
Expand Down
Loading