fixes #82 by always showing languages and writing, also fixes text-overflow by increasing padding to the right on skills names.

main
macniel 2026-06-17 19:26:22 +02:00
parent 6aac658d3f
commit 078eea577e
2 changed files with 113 additions and 111 deletions

View File

@ -107,7 +107,7 @@ $rollable_colours_font: (
line-height: 32px; line-height: 32px;
vertical-align: middle; vertical-align: middle;
word-break: break-all; word-break: break-all;
margin-right: 8px; margin-right: 12px;
} }
} }

View File

@ -3,128 +3,130 @@
data-group="{{tabs.skills.group}}"> data-group="{{tabs.skills.group}}">
<div class="collapsible"> <div class="collapsible">
{{#if skills.Gaben}} {{#if skills.Gaben}}
<div class="talent-group gift"> <div class="talent-group gift">
<fieldset> <fieldset>
<legend><h2>Gaben</h2></legend> <legend><h2>Gaben</h2></legend>
<ul> <ul>
<li> <li>
{{#each skills.Gaben}} {{#each skills.Gaben}}
<li> <li>
{{> "systems/DSA_4-1/templates/ui/partial-rollable-button.hbs" this}} {{> "systems/DSA_4-1/templates/ui/partial-rollable-button.hbs" this}}
</li> </li>
{{/each}} {{/each}}
</ul> </ul>
</fieldset> </fieldset>
</div> </div>
{{/if}} {{/if}}
{{#if skills.Kampf}} {{#if skills.Kampf}}
<div class="talent-group combat"> <div class="talent-group combat">
<fieldset> <fieldset>
<legend><h2>Kampftalente</h2></legend> <legend><h2>Kampftalente</h2></legend>
<ul> <ul>
{{#each skills.Kampf}} {{#each skills.Kampf}}
<li> <li>
{{> "systems/DSA_4-1/templates/ui/partial-rollable-weaponskill-button.hbs" this}} {{> "systems/DSA_4-1/templates/ui/partial-rollable-weaponskill-button.hbs" this}}
</li> </li>
{{/each}} {{/each}}
</ul> </ul>
</fieldset> </fieldset>
</div> </div>
{{/if}} {{/if}}
{{#if skills.Körperlich}} {{#if skills.Körperlich}}
<div class="talent-group body"> <div class="talent-group body">
<fieldset> <fieldset>
<legend><h2>Körperliche Talente</h2></legend> <legend><h2>Körperliche Talente</h2></legend>
<ul> <ul>
<li> <li>
{{#each skills.Körperlich}} {{#each skills.Körperlich}}
<li> <li>
{{> "systems/DSA_4-1/templates/ui/partial-rollable-button.hbs" this}} {{> "systems/DSA_4-1/templates/ui/partial-rollable-button.hbs" this}}
</li> </li>
{{/each}} {{/each}}
</ul> </ul>
</fieldset> </fieldset>
</div> </div>
{{/if}} {{/if}}
{{#if skills.Gesellschaft}} {{#if skills.Gesellschaft}}
<div class="talent-group social"> <div class="talent-group social">
<fieldset> <fieldset>
<legend><h2>Gesellschaftliche Talente</h2></legend> <legend><h2>Gesellschaftliche Talente</h2></legend>
<ul> <ul>
<li> <li>
{{#each skills.Gesellschaft}} {{#each skills.Gesellschaft}}
<li> <li>
{{> "systems/DSA_4-1/templates/ui/partial-rollable-button.hbs" this}} {{> "systems/DSA_4-1/templates/ui/partial-rollable-button.hbs" this}}
</li> </li>
{{/each}} {{/each}}
</ul> </ul>
</fieldset> </fieldset>
</div> </div>
{{/if}} {{/if}}
{{#if skills.Natur}} {{#if skills.Natur}}
<div class="talent-group nature"> <div class="talent-group nature">
<fieldset> <fieldset>
<legend><h2>Natur Talente</h2></legend> <legend><h2>Natur Talente</h2></legend>
<ul> <ul>
<li> <li>
{{#each skills.Natur}} {{#each skills.Natur}}
<li> <li>
{{> "systems/DSA_4-1/templates/ui/partial-rollable-button.hbs" this}} {{> "systems/DSA_4-1/templates/ui/partial-rollable-button.hbs" this}}
</li> </li>
{{/each}} {{/each}}
</ul> </ul>
</fieldset> </fieldset>
</div> </div>
{{/if}} {{/if}}
{{#if skills.Wissen}} {{#if skills.Wissen}}
<div class="talent-group knowledge"> <div class="talent-group knowledge">
<fieldset> <fieldset>
<legend><h2>Wissenstalente</h2></legend> <legend><h2>Wissenstalente</h2></legend>
<ul> <ul>
<li> <li>
{{#each skills.Wissen}} {{#each skills.Wissen}}
<li> <li>
{{> "systems/DSA_4-1/templates/ui/partial-rollable-button.hbs" this}} {{> "systems/DSA_4-1/templates/ui/partial-rollable-button.hbs" this}}
</li> </li>
{{/each}} {{/each}}
</ul> </ul>
</fieldset> </fieldset>
</div> </div>
{{/if}}
{{#if skills.Schriften}}
<div class="talent-group languages">
<fieldset>
<legend><h2>Schriften & Sprachen</h2></legend>
<ul>
<li>
{{#each skills.Schriften}}
<li>
{{> "systems/DSA_4-1/templates/ui/partial-rollable-language-button.hbs" this}}
</li>
{{/each}}
{{#each skills.Sprachen}}
<li>
{{> "systems/DSA_4-1/templates/ui/partial-rollable-language-button.hbs" this}}
</li>
{{/each}}
</ul>
</fieldset>
</div>
{{/if}} {{/if}}
<div class="talent-group languages">
<fieldset>
<legend><h2>Schriften & Sprachen</h2></legend>
<ul>
<li>
{{#each skills.Schriften}}
<li>
{{> "systems/DSA_4-1/templates/ui/partial-rollable-language-button.hbs" this}}
</li>
{{/each}}
{{#each skills.Sprachen}}
<li>
{{> "systems/DSA_4-1/templates/ui/partial-rollable-language-button.hbs" this}}
</li>
{{/each}}
</ul>
</fieldset>
</div>
{{#if skills.Handwerk}} {{#if skills.Handwerk}}
<div class="talent-group crafting"> <div class="talent-group crafting">
<fieldset> <fieldset>
<legend><h2>Handwerkliche Talente</h2></legend> <legend><h2>Handwerkliche Talente</h2></legend>
<ul> <ul>
<li> <li>
{{#each skills.Handwerk}} {{#each skills.Handwerk}}
<li> <li>
{{> "systems/DSA_4-1/templates/ui/partial-rollable-button.hbs" this}} {{> "systems/DSA_4-1/templates/ui/partial-rollable-button.hbs" this}}
</li> </li>
{{/each}} {{/each}}
</ul> </ul>
</fieldset> </fieldset>
</div> </div>
{{/if}} {{/if}}
</div> </div>
</section> </section>