mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +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",
|
||||
"Icon": "Icon"
|
||||
},
|
||||
"Max": "Max",
|
||||
"Tabs": {
|
||||
"Features": "Features",
|
||||
"Effects": "Effects",
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ export default class FeatureSheet extends DaggerheartSheet(ItemSheetV2) {
|
|||
id: 'daggerheart-feature',
|
||||
classes: ['daggerheart', 'sheet', 'feature'],
|
||||
position: { width: 600, height: 600 },
|
||||
window: { resizable: true },
|
||||
actions: {
|
||||
addEffect: this.addEffect,
|
||||
removeEffect: this.removeEffect,
|
||||
|
|
|
|||
|
|
@ -1530,9 +1530,6 @@
|
|||
.daggerheart.chat.domain-card img {
|
||||
width: 80px;
|
||||
}
|
||||
.daggerheart.sheet.feature {
|
||||
background-color: red;
|
||||
}
|
||||
.daggerheart.sheet.feature .editable {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
.daggerheart.sheet {
|
||||
&.feature {
|
||||
background-color: red;
|
||||
.editable {
|
||||
display: flex;
|
||||
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.actionType value=source.system.actionType label="DAGGERHEART.Sheets.Feature.ActionType" rootId=partId localize=true }}
|
||||
<div class="form-group">
|
||||
<label>{{localize "DAGGERHEART.Sheets.Feature.RefreshType"}}</label>
|
||||
<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}}
|
||||
<label>Uses</label>
|
||||
<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