Skip to content

Commit 417ac6c

Browse files
authored
Certificate page design adjustments (#2547)
* Layout adjustments * Remove comment
1 parent cb77e7b commit 417ac6c

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

frontends/main/src/app-pages/CertificatePage/CertificatePage.tsx

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ const Title = styled(Typography)(({ theme }) => ({
4949
},
5050
},
5151
[theme.breakpoints.down("md")]: {
52-
textAlign: "left",
5352
margin: "24px 0",
5453
span: {
5554
fontSize: theme.typography.pxToRem(24),
@@ -73,7 +72,7 @@ const Outer = styled.div(({ theme }) => ({
7372
maxWidth: "1306px",
7473
minWidth: "1200px",
7574
border: `4px solid ${theme.custom.colors.silverGray}`,
76-
padding: "24px 23px",
75+
padding: "24px",
7776
backgroundColor: theme.custom.colors.white,
7877
marginTop: "50px",
7978
margin: "0 auto",
@@ -84,6 +83,12 @@ const Outer = styled.div(({ theme }) => ({
8483
maxWidth: "unset",
8584
minWidth: "unset",
8685
},
86+
[theme.breakpoints.down("md")]: {
87+
padding: 0,
88+
border: "none",
89+
maxWidth: "460px",
90+
minWidth: "unset",
91+
},
8792
},
8893
"@media print": {
8994
boxSizing: "border-box",
@@ -94,15 +99,14 @@ const Outer = styled.div(({ theme }) => ({
9499

95100
const Inner = styled.div(({ theme }) => ({
96101
border: `1px solid ${theme.custom.colors.silverGrayLight}`,
97-
padding: "67px",
102+
padding: "64px",
98103
display: "flex",
99104
flexDirection: "column",
100-
gap: "56px",
105+
gap: "64px",
101106
position: "relative",
102107
"@media screen": {
103108
[theme.breakpoints.down("lg")]: {
104109
padding: "40px",
105-
gap: "40px",
106110
},
107111
[theme.breakpoints.down("md")]: {
108112
border: `2px solid ${theme.custom.colors.lightGray2}`,
@@ -315,7 +319,7 @@ const Spacer = styled.div(({ theme }) => ({
315319
const Signatories = styled.div(({ theme }) => ({
316320
display: "flex",
317321
flexDirection: "row",
318-
gap: "16px",
322+
gap: "40px",
319323
width: "100%",
320324
"@media screen": {
321325
[theme.breakpoints.down("md")]: {

0 commit comments

Comments
 (0)