mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-16 05:31:07 +01:00
fix height issue, missing text, and red color for Feature (#51)
* fix height issue, missing text, and red color * Update module/applications/sheets/feature.mjs Co-authored-by: Emilio Jimenez <19908114+emiliojc@users.noreply.github.com> --------- Co-authored-by: WBHarry <89362246+WBHarry@users.noreply.github.com> Co-authored-by: Emilio Jimenez <19908114+emiliojc@users.noreply.github.com>
This commit is contained in:
parent
a108c55d7c
commit
98a76aec48
5 changed files with 3 additions and 6 deletions
|
|
@ -992,6 +992,7 @@
|
||||||
"Dice": "Dice",
|
"Dice": "Dice",
|
||||||
"Icon": "Icon"
|
"Icon": "Icon"
|
||||||
},
|
},
|
||||||
|
"Max": "Max",
|
||||||
"Tabs": {
|
"Tabs": {
|
||||||
"Features": "Features",
|
"Features": "Features",
|
||||||
"Effects": "Effects",
|
"Effects": "Effects",
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ export default class FeatureSheet extends DaggerheartSheet(ItemSheetV2) {
|
||||||
id: 'daggerheart-feature',
|
id: 'daggerheart-feature',
|
||||||
classes: ['daggerheart', 'sheet', 'feature'],
|
classes: ['daggerheart', 'sheet', 'feature'],
|
||||||
position: { width: 600, height: 600 },
|
position: { width: 600, height: 600 },
|
||||||
|
window: { resizable: true },
|
||||||
actions: {
|
actions: {
|
||||||
addEffect: this.addEffect,
|
addEffect: this.addEffect,
|
||||||
removeEffect: this.removeEffect,
|
removeEffect: this.removeEffect,
|
||||||
|
|
|
||||||
|
|
@ -1530,9 +1530,6 @@
|
||||||
.daggerheart.chat.domain-card img {
|
.daggerheart.chat.domain-card img {
|
||||||
width: 80px;
|
width: 80px;
|
||||||
}
|
}
|
||||||
.daggerheart.sheet.feature {
|
|
||||||
background-color: red;
|
|
||||||
}
|
|
||||||
.daggerheart.sheet.feature .editable {
|
.daggerheart.sheet.feature .editable {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
.daggerheart.sheet {
|
.daggerheart.sheet {
|
||||||
&.feature {
|
&.feature {
|
||||||
background-color: red;
|
|
||||||
.editable {
|
.editable {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
|
||||||
|
|
@ -22,9 +22,8 @@
|
||||||
{{formField systemFields.type value=source.system.type rootId=partId label="DAGGERHEART.Sheets.Feature.FeatureType" localize=true }}
|
{{formField systemFields.type value=source.system.type rootId=partId label="DAGGERHEART.Sheets.Feature.FeatureType" localize=true }}
|
||||||
{{formField systemFields.actionType value=source.system.actionType label="DAGGERHEART.Sheets.Feature.ActionType" rootId=partId localize=true }}
|
{{formField systemFields.actionType value=source.system.actionType label="DAGGERHEART.Sheets.Feature.ActionType" rootId=partId localize=true }}
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>{{localize "DAGGERHEART.Sheets.Feature.RefreshType"}}</label>
|
|
||||||
<div class="form-fields">
|
<div class="form-fields">
|
||||||
{{formField systemFields.refreshData.fields.type value=source.system.refreshData.type rootId=partId label="Type" localize=true }}
|
{{formField systemFields.refreshData.fields.type value=source.system.refreshData.type rootId=partId label="DAGGERHEART.Sheets.Feature.RefreshType" localize=true }}
|
||||||
{{#if document.system.refreshData.type}}
|
{{#if document.system.refreshData.type}}
|
||||||
<label>Uses</label>
|
<label>Uses</label>
|
||||||
<input type="text" name="system.refreshData.uses" value="{{document.system.refreshData.uses}}" data-dtype="Number" />
|
<input type="text" name="system.refreshData.uses" value="{{document.system.refreshData.uses}}" data-dtype="Number" />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue