FIX: images correctly center, and shrink on screen size.

This commit is contained in:
MajorDroolz
2023-01-06 04:01:55 -05:00
parent 662bc0a2ed
commit 9ac21fac1e

View File

@@ -286,4 +286,8 @@ nav {
.project-image { .project-image {
position: absolute; position: absolute;
max-height: 100%; max-height: 100%;
max-width: 100%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
} }