Merge pull request #125 from jedmund/fix-gridrep

Fix colors in GridRep and add to detailsWithUsername
This commit is contained in:
Justin Edmund 2023-01-03 19:42:41 -08:00 committed by GitHub
commit 7db53acb8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 4 deletions

View file

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

View file

@ -188,8 +188,17 @@ const GridRep = (props: Props) => {
<h2 className={titleClass}> <h2 className={titleClass}>
{props.name ? props.name : t('no_title')} {props.name ? props.name : t('no_title')}
</h2> </h2>
<div className={raidClass}> <div className="Properties">
{props.raid ? props.raid.name[locale] : t('no_raid')} <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>
</div> </div>
{account.authorized && {account.authorized &&