#23 Tooltip anpassungen & kleine margin änderungen #37

Merged
Byroks merged 1 commits from #23-leere-tooltips into develop 2026-10-28 18:40:55 +01:00
6 changed files with 33 additions and 39 deletions

No files matched your search

+8 -1
View File
@@ -3,5 +3,12 @@
"singleQuote": false, "singleQuote": false,
"tabWidth": 2, "tabWidth": 2,
"printWidth": 100, "printWidth": 100,
"trailingComma": "none" "overrides": [
{
"files": "*.hbs",
"options": {
"parser": "glimmer"
}
}
]
} }
-15
View File
@@ -8,20 +8,5 @@ export default tseslint.config(
{ ignores: ["dist/**", "node_modules/**"] }, { ignores: ["dist/**", "node_modules/**"] },
js.configs.recommended, js.configs.recommended,
...tseslint.configs.recommended, ...tseslint.configs.recommended,
{
files: ["src/**/*.{ts,tsx}"],
plugins: { react },
languageOptions: {
globals: { ...globals.browser }
},
rules: {
...react.configs.recommended.rules,
"react/react-in-jsx-scope": "off",
"react/prop-types": "off"
},
settings: {
react: { version: "18.3" }
}
},
prettier prettier
); );
+17 -15
View File
@@ -24,21 +24,23 @@
<input class="right" type="text" placeholder="{{localize "Midgard6.Hintergrund.gruppe"}}" name="system.gruppe" value="{{system.gruppe}}" /> <input class="right" type="text" placeholder="{{localize "Midgard6.Hintergrund.gruppe"}}" name="system.gruppe" value="{{system.gruppe}}" />
</div> </div>
<div class="col-6"> <div class="col-6">
<select {{#ifeq item.type "legende"}}
class="text right" <select
style="text-align: right" class="text right"
name="system.linkId" style="text-align: right"
value="{{system.linkId}}" name="system.linkId"
id="linkId" value="{{system.linkId}}"
placeholder="{{system.linkId}}" id="linkId"
> placeholder="{{system.linkId}}"
<option {{#unless system.linkId}}selected{{/unless}}value=""></option> >
{{#each schicksalsgaben as |schicksalsgabe|}} <option {{#unless system.linkId}}selected{{/unless}}value="">Keine Schicksalsgabe</option>
<option {{#ifeq schicksalsgabe.id ../system.linkId}}selected{{/ifeq}} value="{{schicksalsgabe.id}}"> {{#each schicksalsgaben as |schicksalsgabe|}}
{{schicksalsgabe.name}} <option {{#ifeq schicksalsgabe.id ../system.linkId}}selected{{/ifeq}} value="{{schicksalsgabe.id}}">
</option> {{schicksalsgabe.name}}
{{/each}} </option>
</select> {{/each}}
</select>
{{/ifeq}}
</div> </div>
</div> </div>
+2 -2
View File
@@ -20,7 +20,7 @@
</div> </div>
<div class="col-6"> <div class="col-6">
<input class="custom-input right text" type="number" placeholder="{{localize "Midgard6.Gegenstand.anzahl"}}" name="system.anzahl" value="{{item.system.anzahl}}" /> <input class="custom-input right text" type="number" placeholder="{{localize "Midgard6.Gegenstand.anzahl"}}" name="system.anzahl" value="{{item.system.anzahl}}" />
<i class="fa-solid fa-sack-dollar input-icon left"></i> <i class="input-icon right" style="right: 26px; top: 45%">x</i>
</div> </div>
<div class="col-6"> <div class="col-6">
<input class="custom-input left text" type="number" placeholder="{{localize "Midgard6.Gegenstand.wert"}}" name="system.wert" value="{{item.system.wert}}" /> <input class="custom-input left text" type="number" placeholder="{{localize "Midgard6.Gegenstand.wert"}}" name="system.wert" value="{{item.system.wert}}" />
@@ -28,7 +28,7 @@
</div> </div>
<div class="col-6"> <div class="col-6">
<input class="custom-input right text" type="number" placeholder="{{localize "Midgard6.Gegenstand.gewicht"}}" name="system.gewicht" value="{{item.system.gewicht}}" /> <input class="custom-input right text" type="number" placeholder="{{localize "Midgard6.Gegenstand.gewicht"}}" name="system.gewicht" value="{{item.system.gewicht}}" />
<i class="fa-solid fa-weight-hanging input-icon right"></i> <i class="fa-solid fa-weight-hanging input-icon right"></i>
</div> </div>
</div> </div>
</div> </div>
+1 -1
View File
@@ -8,7 +8,7 @@
<legend>{{localize "Midgard6.Item.Eigenschaften"}}</legend> <legend>{{localize "Midgard6.Item.Eigenschaften"}}</legend>
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-6"> <div class="col-6" style="margin-bottom: 4px">
<div class="d-flex justify-content-between"> <div class="d-flex justify-content-between">
<p>{{localize "Midgard6.Item.rüstwert"}}</p> <p>{{localize "Midgard6.Item.rüstwert"}}</p>
<input <input
+5 -5
View File
@@ -8,7 +8,7 @@
<legend>{{localize "Midgard6.Item.Eigenschaften"}}</legend> <legend>{{localize "Midgard6.Item.Eigenschaften"}}</legend>
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-6"> <div class="col-6" style="margin-bottom: 4px">
<div class="d-flex justify-content-between"> <div class="d-flex justify-content-between">
<p>{{localize "Midgard6.Item.schaden"}}</p> <p>{{localize "Midgard6.Item.schaden"}}</p>
<input <input
@@ -22,7 +22,7 @@
</div> </div>
</div> </div>
<div class="col-6"></div> <div class="col-6"></div>
<div class="col-6"> <div class="col-6" style="margin-bottom: 4px">
<div class="d-flex justify-content-between"> <div class="d-flex justify-content-between">
<p>{{localize "Midgard6.Item.fertigkeit"}}</p> <p>{{localize "Midgard6.Item.fertigkeit"}}</p>
<select <select
@@ -31,7 +31,7 @@
name="system.fertigkeit" name="system.fertigkeit"
id="fertigkeit" id="fertigkeit"
placeholder="Nahkampf" placeholder="Nahkampf"
/> >
<option {{#ifeq system.fertigkeit "system.skills.kampf.fernkampf"}}selected{{/ifeq}} value="system.skills.kampf.fernkampf">{{localize <option {{#ifeq system.fertigkeit "system.skills.kampf.fernkampf"}}selected{{/ifeq}} value="system.skills.kampf.fernkampf">{{localize
"Midgard6.Skills.fernkampf" "Midgard6.Skills.fernkampf"
}}</option> }}</option>
@@ -50,8 +50,8 @@
name="system.spezialisierung" name="system.spezialisierung"
id="system.spezialisierung" id="system.spezialisierung"
placeholder="" placeholder=""
/> >
<option {{#ifeq system.spezialisierung ""}}selected{{/ifeq}} value=""></option> <option {{#ifeq system.spezialisierung ""}}selected{{/ifeq}} value="">Keine Spezialisierung</option>
{{#each bonuses as |bonus|}} {{#each bonuses as |bonus|}}
<option {{#ifeq bonus.name ../system.spezialisierung}}selected{{/ifeq}} value="{{bonus.name}}"> <option {{#ifeq bonus.name ../system.spezialisierung}}selected{{/ifeq}} value="{{bonus.name}}">
{{bonus.name}} {{bonus.name}}