Attribute line is now out of the tab in titles

This commit is contained in:
Vlyan
2021-06-16 17:37:08 +02:00
parent b0e212f3e3
commit 1109ab35ab
5 changed files with 22 additions and 16 deletions

File diff suppressed because one or more lines are too long

View File

@@ -384,12 +384,15 @@
}
&.title {
article {
&.infos {
height: calc(100% - 3.5rem);
}
&.attributes {
height: auto;
}
&.experience {
flex: 100%;
height: calc(100% - 7.5rem);
height: calc(100% - 3.5rem);
}
}
}

View File

@@ -33,7 +33,9 @@
<ul class="item-properties">
<li>
{{{ data.linkedProperty.name }}}
<span data-item-id="{{data.linkedProperty.id}}" class="item-control linked-property-delete" title="{{localize 'Delete'}}"> <i class="fas fa-trash"></i></span>
{{#if options.editable}}
<span data-item-id="{{data.linkedProperty.id}}" class="item-control linked-property-delete" title="{{localize 'Delete'}}"> <i class="fas fa-trash"></i></span>
{{/if}}
</li>
</ul>
{{else}}

View File

@@ -4,15 +4,6 @@
<header class="sheet-header">
<img class="profile-img" src="{{data.img}}" data-edit="img" title="{{data.name}}"/>
<h1 class="charname"><input name="name" type="text" value="{{data.name}}" placeholder="Name"/></h1>
</header>
{{!-- Sheet Body --}}
<section class="sheet-body">
{{!-- Sheet Navigation --}}
<nav class="sheet-tabs tabs" data-group="primary">
<a class="item" data-tab="infos">{{ localize "l5r5e.description" }}</a>
<a class="item" data-tab="experience">{{ localize "l5r5e.advancements.title" }}</a>
</nav>
{{!-- Attributes Tab --}}
<article class="attributes">
<label class="attribute">
@@ -28,6 +19,15 @@
<input class="select-on-focus" type="number" name="data.bought_at_rank" value="{{data.data.bought_at_rank}}" data-dtype="Number" min="0" placeholder="0"/>
</label>
</article>
</header>
{{!-- Sheet Body --}}
<section class="sheet-body">
{{!-- Sheet Navigation --}}
<nav class="sheet-tabs tabs" data-group="primary">
<a class="item" data-tab="infos">{{ localize "l5r5e.description" }}</a>
<a class="item" data-tab="experience">{{ localize "l5r5e.advancements.title" }}</a>
</nav>
{{!-- Descr + Page ref --}}
{{> 'systems/l5r5e/templates/items/item/item-infos.html'}}