Skip to content

Commit c75627c

Browse files
committed
IN-3118: python Example QR
1 parent 753e675 commit c75627c

File tree

4 files changed

+22
-14
lines changed

4 files changed

+22
-14
lines changed

examples/yoti_example_django/yoti_example/static/index.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
font-size: 40px;
2727
font-weight: 700;
2828
line-height: 1.2;
29-
30-
margin: 0;
29+
margin-top: 0;
30+
margin-bottom: 80px;
3131

3232
text-align: center;
3333

@@ -45,8 +45,8 @@
4545
}
4646

4747
#yoti-share-button {
48-
width: 130px;
49-
height: 50px;
48+
width: 250px;
49+
height: 45px;
5050
}
5151

5252
.yoti-login-or-separator {
@@ -56,7 +56,7 @@
5656
font-weight: bold;
5757
line-height: 1.5;
5858
text-align: center;
59-
margin-bottom: 30px;
59+
margin-top: 30px;
6060
}
6161

6262
.yoti-login-dialog {

examples/yoti_example_django/yoti_example/templates/index.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,12 @@ <h3 class="yoti-sponsor-app-header">The Yoti app is free to download and use:</h
7373
"clientSdkId": "{{client_sdk_id}}",
7474
"scenarioId": "{{scenario_id}}",
7575
"button": {
76-
"label": "Use Yoti"
77-
}
76+
"label": "Use Yoti",
77+
"align": "center",
78+
"width": "auto",
79+
"verticalAlign": "top"
80+
},
81+
"type": "modal"
7882
}]
7983
});
8084
</script>

examples/yoti_example_flask/static/index.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
font-size: 40px;
2727
font-weight: 700;
2828
line-height: 1.2;
29-
30-
margin: 0;
29+
margin-top: 0;
30+
margin-bottom: 80px;
3131

3232
text-align: center;
3333

@@ -45,8 +45,8 @@
4545
}
4646

4747
#yoti-share-button {
48-
width: 130px;
49-
height: 50px;
48+
width: 250px;
49+
height: 45px;
5050
}
5151

5252
.yoti-login-or-separator {
@@ -56,7 +56,7 @@
5656
font-weight: bold;
5757
line-height: 1.5;
5858
text-align: center;
59-
margin-bottom: 30px;
59+
margin-top: 30px;
6060
}
6161

6262
.yoti-login-dialog {

examples/yoti_example_flask/templates/index.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,12 @@ <h3 class="yoti-sponsor-app-header">The Yoti app is free to download and use:</h
7373
"clientSdkId": "{{client_sdk_id}}",
7474
"scenarioId": "{{scenario_id}}",
7575
"button": {
76-
"label": "Use Yoti"
77-
}
76+
"label": "Use Yoti",
77+
"align": "center",
78+
"width": "auto",
79+
"verticalAlign": "top"
80+
},
81+
"type": "modal"
7882
}]
7983
});
8084
</script>

0 commit comments

Comments
 (0)