center work preview image when needed

This commit is contained in:
xenofem 2024-02-04 01:02:00 -05:00
parent d351da79c1
commit 9ebab7d5bb

View file

@ -108,6 +108,7 @@ body {
flex-basis: 40%; flex-basis: 40%;
flex-grow: 1; flex-grow: 1;
min-width: min(300px, 100%); min-width: min(300px, 100%);
text-align: center;
} }
.work-preview img { .work-preview img {
@ -115,7 +116,6 @@ body {
} }
.work-preview .start-link { .work-preview .start-link {
text-align: center;
font-weight: bold; font-weight: bold;
font-size: 24px; font-size: 24px;
} }