diff --git a/components/GridRep/index.module.scss b/components/GridRep/index.module.scss index e1dd0dd8..6a3d490f 100644 --- a/components/GridRep/index.module.scss +++ b/components/GridRep/index.module.scss @@ -51,7 +51,7 @@ aspect-ratio: 73/153; display: grid; grid-column: 1 / 2; /* spans one column */ - max-height: 140px; + max-height: 153px; } .weapons { diff --git a/components/GridRep/index.tsx b/components/GridRep/index.tsx index 844913e0..11220f95 100644 --- a/components/GridRep/index.tsx +++ b/components/GridRep/index.tsx @@ -165,20 +165,11 @@ const GridRep = (props: Props) => { ) } - const linkedAttribution = () => ( - - - {userImage()} - {props.user ? props.user.username : t('no_user')} - - - ) - - const unlinkedAttribution = () => ( -
+ const attribution = () => ( + {userImage()} {props.user ? props.user.username : t('no_user')} -
+ ) function fullAutoString() { @@ -244,7 +235,7 @@ const GridRep = (props: Props) => { )}
- {props.user ? linkedAttribution() : unlinkedAttribution()} + {attribution()}