mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-26 18:04:45 +10:00
add 'object cover' class to templates that have issues with profile images streatching
This commit is contained in:
@@ -32,7 +32,7 @@ const Castform = ({ data }) => {
|
|||||||
const Photo = () =>
|
const Photo = () =>
|
||||||
data.profile.photograph !== '' && (
|
data.profile.photograph !== '' && (
|
||||||
<img
|
<img
|
||||||
className="w-32 h-32 rounded-full"
|
className="w-32 h-32 rounded-full object-cover"
|
||||||
style={{
|
style={{
|
||||||
borderWidth: 6,
|
borderWidth: 6,
|
||||||
borderColor: data.metadata.colors.background,
|
borderColor: data.metadata.colors.background,
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ const Glalie = ({ data }) => {
|
|||||||
<div className="grid gap-2 text-center">
|
<div className="grid gap-2 text-center">
|
||||||
{data.profile.photograph !== '' && (
|
{data.profile.photograph !== '' && (
|
||||||
<img
|
<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}
|
src={data.profile.photograph}
|
||||||
alt={data.profile.firstName}
|
alt={data.profile.firstName}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user