Merge pull request #609 from apat183/fix-image-stretching

add 'object cover' class to templates that have issues with profile image stretching.
This commit is contained in:
Amruth Pillai
2022-02-08 09:16:21 +01:00
committed by GitHub
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}
/>