Skip to content

Commit 93dd92b

Browse files
committed
aesthetics
1 parent 9f3c902 commit 93dd92b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

services/static-webserver/client/source/class/osparc/auth/ui/VerifyPhoneNumberView.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ qx.Class.define("osparc.auth.ui.VerifyPhoneNumberView", {
8383
case "validate-code-field":
8484
control = new qx.ui.form.TextField().set({
8585
placeholder: this.tr("Type the SMS code"),
86-
enabled: false
86+
enabled: false,
87+
height: 29, // to align it with the strong button next to it
8788
});
8889
control.addListener("input", e => this.getChildControl("validate-code-button").setEnabled(Boolean(e.getData())));
8990
this.getChildControl("validation-layout").add(control, {

services/static-webserver/client/source/class/osparc/desktop/account/ProfilePage.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,8 @@ qx.Class.define("osparc.desktop.account.ProfilePage", {
599599
const verifyPhoneNumberView = new osparc.auth.ui.VerifyPhoneNumberView().set({
600600
userEmail: osparc.auth.Data.getInstance().getEmail()
601601
});
602+
verifyPhoneNumberView.getChildControl("title").exclude();
603+
verifyPhoneNumberView.getChildControl("send-via-email-button").exclude();
602604
osparc.ui.window.Window.popUpInWindow(verifyPhoneNumberView, this.tr("Update Phone Number"), 350, 135).set({
603605
clickAwayClose: false,
604606
resizable: false,

0 commit comments

Comments
 (0)