Better way of centering profile mode

This commit is contained in:
Aditya Telange 2021-06-11 18:34:18 +05:30
parent 726894ba29
commit d35056c664
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77
1 changed files with 1 additions and 4 deletions

View File

@ -5,11 +5,8 @@
} }
.main .profile { .main .profile {
position: absolute;
left: 0;
right: 0;
align-items: center; align-items: center;
height: 80%; min-height: calc(100vh - var(--header-height) - var(--footer-height) - (var(--gap) * 2));
text-align: center; text-align: center;
} }