Fix for npc note

This commit is contained in:
Mandar
2021-01-09 12:33:30 +01:00
parent 47c2a2144b
commit 703ca9bab0
4 changed files with 10 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@@ -145,4 +145,10 @@
margin: 1rem 0.25rem 0;
}
}
.npc-note {
.editor {
min-height: 6rem;
max-height: 12rem;
}
}
}

View File

@@ -106,8 +106,8 @@
width: 150px;
margin-right: 0;
object-fit: contain;
background: $l5r5e-white;
border: 1px solid $l5r5e-title;
background: $l5r5e-white-light;
border: 1px solid rgba(186, 187, 177, 0.25);
--notchSize: 0.5rem;
clip-path: polygon(
0% var(--notchSize),

View File

@@ -6,7 +6,7 @@
<h1 class="charname"><input name="name" type="text" value="{{actor.name}}" placeholder="Name"/></h1>
{{> 'systems/l5r5e/templates/actors/npc/identity.html' }}
</div>
<fieldset>
<fieldset class="npc-note">
<legend class="text-block-header">{{ localize 'l5r5e.notes' }}</legend>
{{ editor content=data.notes.value target="data.notes.value" button=true editable=editable }}
</fieldset>