Skip to content

Commit 64f7ed2

Browse files
authored
Merge pull request #540 from topcoder-platform/TCA-1077-mobile-fix
Fix free label mobile styles & QR code size
2 parents 2c469f0 + 04b7b66 commit 64f7ed2

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

src-ts/tools/learn/learn-lib/tca-certificate-preview/tca-certificate/TCACertificate.module.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,15 @@
129129
.certInfo {
130130
display: flex;
131131
justify-content: space-between;
132-
align-items: flex-end;
132+
align-items: center;
133133

134134
.certInfoLeft {
135135
display: flex;
136+
align-items: center;
136137

137138
.qrCode {
138-
margin-right: $space-sm;
139-
opacity: 0.9;
139+
margin-right: $space-lg;
140+
opacity: 0.7;
140141
border: 0.5px solid #D4D4D4;
141142
border-radius: 2px;
142143
background-color: $tc-white;

src-ts/tools/learn/learn-lib/tca-certificate-preview/tca-certificate/TCACertificate.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const TCACertificate: FC<TCACertificateProps> = (props: TCACertificateProps) =>
7777
<div className={styles.certInfoLeft}>
7878
<QRCodeSVG
7979
value={props.validateLink}
80-
size={57}
80+
size={75}
8181
className={styles.qrCode}
8282
includeMargin
8383
/>

src-ts/tools/learn/welcome/tc-certifications/cert-card/TCCertCard.module.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@
8989
font-weight: 500;
9090
font-size: 11px;
9191
line-height: 10px;
92+
93+
@include ltesm {
94+
font-size: 11px;
95+
line-height: 10px;
96+
}
9297
}
9398
}
9499
}

0 commit comments

Comments
 (0)