Replace margin:auto with flex justify, align.

This commit is contained in:
voussoir 2021-06-15 22:26:42 -07:00
parent 87126c1b89
commit 0829383f7d
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -206,6 +206,8 @@
align-self: start; align-self: start;
justify-self: center; justify-self: center;
display: flex; display: flex;
justify-content: center;
align-items: center;
width: 100%; width: 100%;
height: 150px; height: 150px;
} }
@ -213,7 +215,6 @@
{ {
max-width: 100%; max-width: 100%;
max-height: 150px; max-height: 150px;
margin: auto;
} }
.photo_card_filename .photo_card_filename