#46-problems-with-character-description-editor (#50)
Changes: + adjust height and width of the editor WIP for #46 Closes #44 Reviewed-on: #50
This commit is contained in:
parent
03b87f2df0
commit
2bfd3a7d6a
|
|
@ -6,7 +6,7 @@
|
|||
.flexbox {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.flexcolumn {
|
||||
|
|
@ -282,6 +282,10 @@
|
|||
margin: 0.5rem 0.5rem 0.5rem 0.5rem;
|
||||
height: 180px;
|
||||
background-color: #eaead7;
|
||||
.editor {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.attributes {
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<div class="flexbox">
|
||||
<div class="flexcolumn-1">
|
||||
<div class="flexpart">
|
||||
<div class="flexpart-header"><img src="icons/commodities/cloth/thread-spindle-white-needle.webp" class="flexpart-icon">{{localize "midgard5.characteristics"}}</div>
|
||||
<div class="flexpart-header"><img src="icons/commodities/cloth/thread-spindle-white-needle.webp" class="flexpart-icon" />{{localize "midgard5.characteristics"}}</div>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr height = 10px></tr>
|
||||
<tr height="10px"></tr>
|
||||
<tr>
|
||||
<td>{{localize "midgard5.origin"}}</td>
|
||||
<td><input name="data.info.origin" type="text" value="{{data.info.origin}}" data-dtype="String" /></td>
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
<td>{{localize "midgard5.faith"}}</td>
|
||||
<td><input name="data.info.faith" type="text" value="{{data.info.faith}}" data-dtype="String" /></td>
|
||||
</tr>
|
||||
<tr height = 10px></tr>
|
||||
<tr height="10px"></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
|
@ -33,17 +33,17 @@
|
|||
|
||||
<div class="flexcolumn-1">
|
||||
<div class="flexpart" style="height: 250px;">
|
||||
<div class="flexpart-header"><img src="icons/environment/wilderness/mine-interior-dungeon-door.webp" class="flexpart-icon">{{localize "midgard5.description"}}</div>
|
||||
<br>
|
||||
<div class="biography">{{editor characterDescription target="data.info.description" button=false }}</div>
|
||||
<div class="flexpart-header"><img src="icons/environment/wilderness/mine-interior-dungeon-door.webp" class="flexpart-icon" />{{localize "midgard5.description"}}</div>
|
||||
<br />
|
||||
<div class="biography">{{editor content=data.info.description target="data.info.description" button=true owner=owner editable=editable}}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flexcolumn-1">
|
||||
<div class="flexpart" style="height: 250px;">
|
||||
<div class="flexpart-header"><img src="icons/environment/people/group.webp" class="flexpart-icon">{{localize "midgard5.background"}}</div>
|
||||
<br>
|
||||
<div class="biography">{{editor characterBackground target="data.info.background" button=false}}</div>
|
||||
<div class="flexpart-header"><img src="icons/environment/people/group.webp" class="flexpart-icon" />{{localize "midgard5.background"}}</div>
|
||||
<br />
|
||||
<div class="biography">{{editor content=data.info.background target="data.info.background" button=true owner=owner editable=editable}}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue