diff --git a/client/src/App.css b/client/src/App.css index 70c65b6..8f65385 100644 --- a/client/src/App.css +++ b/client/src/App.css @@ -134,14 +134,23 @@ button { .PhotoInfo, .FaceInfo { display: flex; - align-content: center; - align-items: center; - align-self: center; - text-align: center; + justify-content: space-around; width: 100%; +} + +.Photo { + display: flex; + position: relative; + flex-direction: column; + max-height: 60vh; flex-grow: 1; } +.spacer { + display: flex; + flex-shrink: 1; +} + .Photo .FaceBox { border: 1px solid red; position: absolute; @@ -152,12 +161,6 @@ button { box-shadow: 0px 0px 10px black; } -.Photo { - display: flex; - position: relative; - flex-direction: column; -} - .PhotoFaces .UnknownFace, .Identities .UnknownFace { font-size: 2rem; diff --git a/client/src/App.tsx b/client/src/App.tsx index edd8907..0aec84e 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -205,33 +205,34 @@ const Photo = ({ photoId, onFaceClick }: any) => { alt={photo.filename} src={`${base}/../${photo.path}thumbs/scaled/${photo.filename}`.replace(/ /g, '%20')}/> { faces } - -