fix height issue, missing text, and red color

This commit is contained in:
IrkTheImp 2025-05-24 23:11:13 -05:00
parent a108c55d7c
commit 45a27fa2a8
5 changed files with 3 additions and 7 deletions

View file

@ -992,6 +992,7 @@
"Dice": "Dice", "Dice": "Dice",
"Icon": "Icon" "Icon": "Icon"
}, },
"Max": "Max",
"Tabs": { "Tabs": {
"Features": "Features", "Features": "Features",
"Effects": "Effects", "Effects": "Effects",

View file

@ -14,7 +14,7 @@ export default class FeatureSheet extends DaggerheartSheet(ItemSheetV2) {
tag: 'form', tag: 'form',
id: 'daggerheart-feature', id: 'daggerheart-feature',
classes: ['daggerheart', 'sheet', 'feature'], classes: ['daggerheart', 'sheet', 'feature'],
position: { width: 600, height: 600 }, position: { width: 600 },
actions: { actions: {
addEffect: this.addEffect, addEffect: this.addEffect,
removeEffect: this.removeEffect, removeEffect: this.removeEffect,

View file

@ -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;

View file

@ -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;

View file

@ -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" />