add 'object cover' class to templates that have issues with profile images streatching

This commit is contained in:
Anand
2022-01-25 20:30:35 +13:00
parent fd15989346
commit b617ec6bfa
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ const Castform = ({ data }) => {
const Photo = () =>
data.profile.photograph !== '' && (
<img
className="w-32 h-32 rounded-full"
className="w-32 h-32 rounded-full object-cover"
style={{
borderWidth: 6,
borderColor: data.metadata.colors.background,
+1 -1
View File
@@ -35,7 +35,7 @@ const Glalie = ({ data }) => {
<div className="grid gap-2 text-center">
{data.profile.photograph !== '' && (
<img
className="w-40 h-40 rounded-full mx-auto"
className="w-40 h-40 rounded-full mx-auto object-cover"
src={data.profile.photograph}
alt={data.profile.firstName}
/>