Skip to content

Commit af78740

Browse files
authored
Merge pull request #137 from arm-university/main
Form button centred
2 parents e5ace70 + 139b8be commit af78740

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/_sass/components/_challengePage.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,8 @@
303303
/* Floating Button */
304304
.ch-floating-register {
305305
position: fixed;
306-
right: 22px;
306+
left: 50%;
307+
transform: translateX(-50%);
307308
bottom: 22px;
308309
padding: 12px 20px;
309310
background: var(--purple);
@@ -319,5 +320,5 @@
319320
.ch-floating-register:hover {
320321
background: var(--purple-dark);
321322
color: #111111;
322-
transform: translateY(-3px);
323+
transform: translateX(-50%) translateY(-3px);
323324
}

0 commit comments

Comments
 (0)