mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Minor fixes and tweaks for the party sheet (#1239)
* Minor fixes and tweaks for the party sheet * Fix scroll restoration for party sheet tabs
This commit is contained in:
parent
a3f079d111
commit
4f990166f5
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' },
|
||||
resources: {
|
||||
template: 'systems/daggerheart/templates/sheets/actors/party/resources.hbs',
|
||||
scrollable: ['.resources']
|
||||
scrollable: ['']
|
||||
},
|
||||
projects: {
|
||||
template: 'systems/daggerheart/templates/sheets/actors/party/projects.hbs',
|
||||
scrollable: ['.projects']
|
||||
scrollable: ['']
|
||||
},
|
||||
inventory: {
|
||||
template: 'systems/daggerheart/templates/sheets/actors/party/inventory.hbs',
|
||||
scrollable: ['.inventory']
|
||||
scrollable: ['']
|
||||
},
|
||||
notes: { template: 'systems/daggerheart/templates/sheets/actors/party/notes.hbs' }
|
||||
};
|
||||
|
|
|
|||
|
|
@ -675,7 +675,6 @@ export default class DhCharacter extends BaseDataActor {
|
|||
}
|
||||
|
||||
_getTags() {
|
||||
const tags = [this.class.value.name, this.class.subclass.name, this.community.name, this.ancestry.name];
|
||||
return tags;
|
||||
return [this.class.value?.name, this.class.subclass?.name, this.community?.name, this.ancestry?.name].filter((t) => !!t);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -92,6 +92,7 @@
|
|||
|
||||
&.actor-img {
|
||||
border-radius: 50%;
|
||||
object-position: top center;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@ body.game:is(.performance-low, .noblur) {
|
|||
.actor-img {
|
||||
height: 150px;
|
||||
object-fit: cover;
|
||||
object-position: top center;
|
||||
border-radius: 6px 6px 0px 0px;
|
||||
mask-image: linear-gradient(180deg, black 88%, transparent 100%);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue