Skip to content

Commit 4bc4829

Browse files
committed
TCA-1089 - fix enrolled & completed certification modal
1 parent 396fcaf commit 4bc4829

File tree

6 files changed

+13
-12
lines changed

6 files changed

+13
-12
lines changed

src-ts/tools/learn/certification-details/enrolled-modal/EnrolledModal.module.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
.enrolledModal {
1111
color: $tc-white;
1212
background: url(./bg.jpg) center no-repeat, $tc-grad20;
13+
max-width: 560px;
1314

1415
@include ltemd {
1516
background: url(./bg-mobile.jpg) 0 0 no-repeat, $tc-grad20;
@@ -37,9 +38,8 @@
3738
}
3839

3940
h2 {
40-
@include ltemd {
41-
font-size: 24px;
42-
line-height: 28px;
43-
}
41+
text-transform: none;
42+
font-size: 26px;
43+
line-height: 32px;
4444
}
4545
}

src-ts/tools/learn/certification-details/enrolled-modal/EnrolledModal.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const EnrolledModal: FC<EnrolledModalProps> = (props: EnrolledModalProps) => {
2323
<BaseModal
2424
onClose={props.onClose}
2525
open={isOpen}
26-
size='sm'
26+
size='lg'
2727
classNames={{ modal: styles.enrolledModal, root: styles.modalRoot }}
2828
>
2929
<>
@@ -33,6 +33,7 @@ const EnrolledModal: FC<EnrolledModalProps> = (props: EnrolledModalProps) => {
3333
<Button
3434
buttonStyle='outline'
3535
label='Go to the certification details'
36+
size='sm'
3637
onClick={props.onClose}
3738
/>
3839
</>
Loading

src-ts/tools/learn/learn-lib/tca-certification-completed-modal/TCACertificationCompletedModal.module.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
.completedModal.completedModal {
44
color: $tc-white;
5-
background: url(./bg.jpg) center no-repeat, $tc-grad20;
5+
background: url(./bg.jpg) no-repeat center / cover, $tc-grad20;
6+
max-width: 560px;
67

78
@include ltemd {
89
background: url(./bg-mobile.jpg) 0 0 no-repeat, $tc-grad20;
@@ -30,9 +31,8 @@
3031
}
3132

3233
h2 {
33-
@include ltemd {
34-
font-size: 24px;
35-
line-height: 28px;
36-
}
34+
text-transform: none;
35+
font-size: 26px;
36+
line-height: 32px;
3737
}
3838
}

src-ts/tools/learn/learn-lib/tca-certification-completed-modal/TCACertificationCompletedModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const TCACertificationCompletedModal: FC<TCACertificationCompletedModalProps>
4141
<BaseModal
4242
onClose={handleClose}
4343
open={isOpen}
44-
size='sm'
44+
size='lg'
4545
classNames={{ modal: styles.completedModal, root: styles.modalRoot }}
4646
>
4747
<>
@@ -53,7 +53,7 @@ const TCACertificationCompletedModal: FC<TCACertificationCompletedModalProps>
5353
Certification
5454
!
5555
</h2>
56-
<Button buttonStyle='outline' label='Check it out now!' onClick={handleClick} />
56+
<Button buttonStyle='outline' label='Check it out now!' size='sm' onClick={handleClick} />
5757
</>
5858

5959
</BaseModal>
Loading

0 commit comments

Comments
 (0)