diff --git a/static/css/custom.css b/static/css/custom.css index bb067f6..be7ce38 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -509,11 +509,16 @@ body.dark-mode a { margin: 0.8rem 0 2.2rem; } -.employee-photo { - display: block; - float: none !important; +.employee-photo-wrap { width: 180px; height: 135px; +} + +main .employee-photo-wrap .employee-photo { + display: block; + width: 180px; + height: 135px; + max-width: none; object-fit: cover; margin: 0 !important; border-radius: 3px;