Fix colors in GridRep and add to detailsWithUsername

This commit is contained in:
Justin Edmund 2023-01-03 19:41:31 -08:00
parent c2372d4adc
commit ac865d7a26
2 changed files with 18 additions and 4 deletions

View file

@ -117,8 +117,6 @@
.bottom {
display: flex;
flex-direction: row;
color: $grey-55;
font-size: $font-small;
a.user:hover {
color: var(--link-text-hover);
@ -130,6 +128,13 @@
flex-grow: 1;
}
.user,
.raid,
time {
color: $grey-55;
font-size: $font-small;
}
.Properties {
.full_auto {
color: var(--full-auto-text);

View file

@ -188,8 +188,17 @@ const GridRep = (props: Props) => {
<h2 className={titleClass}>
{props.name ? props.name : t('no_title')}
</h2>
<div className={raidClass}>
{props.raid ? props.raid.name[locale] : t('no_raid')}
<div className="Properties">
<span className={raidClass}>
{props.raid ? props.raid.name[locale] : t('no_raid')}
</span>
{props.fullAuto ? (
<span className="full_auto">
{` · ${t('party.details.labels.full_auto')}`}
</span>
) : (
''
)}
</div>
</div>
{account.authorized &&