fix: fix register button width

This commit is contained in:
Syed Sajjad Hussain Shah
2024-04-22 11:34:47 +05:00
committed by mubbsharanwar
parent 99850574fb
commit 4f48e82959
2 changed files with 15 additions and 0 deletions

View File

@@ -75,6 +75,13 @@ export const getRegisterButtonLabelInExperiment = (
return existingButtonLabel;
};
export const getRegisterButtonClassInExperiment = (expVariation, registerPageStep) => {
if (expVariation === MULTI_STEP_REGISTRATION_EXP_VARIATION && registerPageStep === FIRST_STEP) {
return 'continue-button';
}
return 'register-button';
};
export const getRegisterButtonSubmitStateInExperiment = (
registerSubmitState, validationsSubmitState, expVariation, registerPageStep,
) => {

View File

@@ -1,3 +1,11 @@
.register-button {
min-width: 14.4rem;
}
.continue-button {
min-width: 7rem;
}
.pgn__form-autosuggest__wrapper > .pgn__form-group {
margin-bottom: 0 !important;
}