Skip to content

Commit fbc3e3c

Browse files
committed
fix dice setup modal
1 parent 8163d59 commit fbc3e3c

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/shared/components/Settings/Account/Security/Modal/style.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,14 @@
2424
padding: 32px;
2525
box-shadow: 0 0 1px 5px rgba(0, 0, 0, 0.2);
2626
border-radius: 8px;
27-
overflow: hidden;
27+
overflow: auto;
2828
transform: translate(-50%, -50%);
2929
z-index: 951;
3030
display: flex;
3131
flex-direction: column;
3232
align-items: flex-start;
3333
gap: 24px;
34+
max-height: 99%;
3435

3536
.header {
3637
display: flex;
@@ -79,7 +80,7 @@
7980

8081
.divider {
8182
width: 100%;
82-
height: 2px;
83+
min-height: 2px;
8384
background-color: #e9e9e9;
8485
border-radius: 1px;
8586
}

src/shared/components/Settings/Account/Security/index.jsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@ export default function Security({
139139
};
140140

141141
const goToVerification = () => {
142+
if (!getConnectionAccepted()) {
143+
return;
144+
}
142145
setSetupStep(2);
143146
verificationPopup();
144147
};
@@ -309,7 +312,7 @@ export default function Security({
309312
</div>
310313
<div styleName="info-second-line">
311314
Status of MFA for your Topcoder account.
312-
If enabled, MFA will be enofrced during the Topcoder login process.
315+
If enabled, MFA will be enforced during the Topcoder login process.
313316
</div>
314317
</div>
315318
<div className="onoffswitch" styleName="on-off-switch">

0 commit comments

Comments
 (0)