mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 19:51:08 +01:00
Merge branch 'feature/party-sheet' of https://github.com/Foundryborne/daggerheart into feature/party-sheet
This commit is contained in:
commit
a442cb904b
4 changed files with 6 additions and 5 deletions
|
|
@ -46,15 +46,15 @@ export default class Party extends DHBaseActorSheet {
|
||||||
partyMembers: { template: 'systems/daggerheart/templates/sheets/actors/party/party-members.hbs' },
|
partyMembers: { template: 'systems/daggerheart/templates/sheets/actors/party/party-members.hbs' },
|
||||||
resources: {
|
resources: {
|
||||||
template: 'systems/daggerheart/templates/sheets/actors/party/resources.hbs',
|
template: 'systems/daggerheart/templates/sheets/actors/party/resources.hbs',
|
||||||
scrollable: ['.resources']
|
scrollable: ['']
|
||||||
},
|
},
|
||||||
projects: {
|
projects: {
|
||||||
template: 'systems/daggerheart/templates/sheets/actors/party/projects.hbs',
|
template: 'systems/daggerheart/templates/sheets/actors/party/projects.hbs',
|
||||||
scrollable: ['.projects']
|
scrollable: ['']
|
||||||
},
|
},
|
||||||
inventory: {
|
inventory: {
|
||||||
template: 'systems/daggerheart/templates/sheets/actors/party/inventory.hbs',
|
template: 'systems/daggerheart/templates/sheets/actors/party/inventory.hbs',
|
||||||
scrollable: ['.inventory']
|
scrollable: ['']
|
||||||
},
|
},
|
||||||
notes: { template: 'systems/daggerheart/templates/sheets/actors/party/notes.hbs' }
|
notes: { template: 'systems/daggerheart/templates/sheets/actors/party/notes.hbs' }
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -675,7 +675,6 @@ export default class DhCharacter extends BaseDataActor {
|
||||||
}
|
}
|
||||||
|
|
||||||
_getTags() {
|
_getTags() {
|
||||||
const tags = [this.class.value.name, this.class.subclass.name, this.community.name, this.ancestry.name];
|
return [this.class.value?.name, this.class.subclass?.name, this.community?.name, this.ancestry?.name].filter((t) => !!t);
|
||||||
return tags;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -92,6 +92,7 @@
|
||||||
|
|
||||||
&.actor-img {
|
&.actor-img {
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
|
object-position: top center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -53,6 +53,7 @@ body.game:is(.performance-low, .noblur) {
|
||||||
.actor-img {
|
.actor-img {
|
||||||
height: 150px;
|
height: 150px;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
|
object-position: top center;
|
||||||
border-radius: 6px 6px 0px 0px;
|
border-radius: 6px 6px 0px 0px;
|
||||||
mask-image: linear-gradient(180deg, black 88%, transparent 100%);
|
mask-image: linear-gradient(180deg, black 88%, transparent 100%);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue