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;
|
||||
display: grid;
|
||||
grid-column: 1 / 2; /* spans one column */
|
||||
max-height: 140px;
|
||||
max-height: 153px;
|
||||
}
|
||||
|
||||
.weapons {
|
||||
|
|
|
|||
|
|
@ -165,20 +165,11 @@ const GridRep = (props: Props) => {
|
|||
)
|
||||
}
|
||||
|
||||
const linkedAttribution = () => (
|
||||
<Link href={`/${props.user ? props.user.username : '#'}`}>
|
||||
<span className={userClass}>
|
||||
{userImage()}
|
||||
{props.user ? props.user.username : t('no_user')}
|
||||
</span>
|
||||
</Link>
|
||||
)
|
||||
|
||||
const unlinkedAttribution = () => (
|
||||
<div className={userClass}>
|
||||
const attribution = () => (
|
||||
<span className={userClass}>
|
||||
{userImage()}
|
||||
{props.user ? props.user.username : t('no_user')}
|
||||
</div>
|
||||
</span>
|
||||
)
|
||||
|
||||
function fullAutoString() {
|
||||
|
|
@ -244,7 +235,7 @@ const GridRep = (props: Props) => {
|
|||
)}
|
||||
</div>
|
||||
<div className={styles.attributed}>
|
||||
{props.user ? linkedAttribution() : unlinkedAttribution()}
|
||||
{attribution()}
|
||||
|
||||
<time
|
||||
className={styles.lastUpdated}
|
||||
|
|
|
|||
Loading…
Reference in a new issue