Skip to content

Commit 0e17493

Browse files
committed
Switch to flexbox + container for clearer centering.
- Move flexbox centering from submit-button to submit-container - Remove redundant top positioning from submit-burst (centered via flex parent)
1 parent aaa01da commit 0e17493

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

kolibri/plugins/user_auth/frontend/views/SignInPage/PictureSignIn/PicturePasswordGrid.vue

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -480,13 +480,12 @@
480480
481481
.submit-container {
482482
position: relative;
483-
// display: inline-block;
483+
display: flex;
484+
align-items: center;
485+
justify-content: center;
484486
}
485487
486488
.submit-button {
487-
// display: flex;
488-
align-items: center;
489-
justify-content: center;
490489
width: 100%;
491490
height: 100%;
492491
padding: 0;
@@ -497,7 +496,6 @@
497496
498497
.submit-burst {
499498
position: absolute;
500-
top: 50%;
501499
z-index: 100;
502500
}
503501

0 commit comments

Comments
 (0)