Update GridRep
* Remove link to user's profile—it was very distracting * Increase mainhand max height so it doesn't appear too small when reps are larger
This commit is contained in:
parent
a4dbcebf0b
commit
938b17e5e9
2 changed files with 5 additions and 14 deletions
|
|
@ -51,7 +51,7 @@
|
||||||
aspect-ratio: 73/153;
|
aspect-ratio: 73/153;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-column: 1 / 2; /* spans one column */
|
grid-column: 1 / 2; /* spans one column */
|
||||||
max-height: 140px;
|
max-height: 153px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.weapons {
|
.weapons {
|
||||||
|
|
|
||||||
|
|
@ -165,20 +165,11 @@ const GridRep = (props: Props) => {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
const linkedAttribution = () => (
|
const attribution = () => (
|
||||||
<Link href={`/${props.user ? props.user.username : '#'}`}>
|
<span className={userClass}>
|
||||||
<span className={userClass}>
|
|
||||||
{userImage()}
|
|
||||||
{props.user ? props.user.username : t('no_user')}
|
|
||||||
</span>
|
|
||||||
</Link>
|
|
||||||
)
|
|
||||||
|
|
||||||
const unlinkedAttribution = () => (
|
|
||||||
<div className={userClass}>
|
|
||||||
{userImage()}
|
{userImage()}
|
||||||
{props.user ? props.user.username : t('no_user')}
|
{props.user ? props.user.username : t('no_user')}
|
||||||
</div>
|
</span>
|
||||||
)
|
)
|
||||||
|
|
||||||
function fullAutoString() {
|
function fullAutoString() {
|
||||||
|
|
@ -244,7 +235,7 @@ const GridRep = (props: Props) => {
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<div className={styles.attributed}>
|
<div className={styles.attributed}>
|
||||||
{props.user ? linkedAttribution() : unlinkedAttribution()}
|
{attribution()}
|
||||||
|
|
||||||
<time
|
<time
|
||||||
className={styles.lastUpdated}
|
className={styles.lastUpdated}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue