Skip to content

Commit 8e284d0

Browse files
authored
Enhanced usability and readability on spells items (#71)
2 parents abedd27 + 9a7d9c3 commit 8e284d0

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.2.0] - 2025-08-05
9+
10+
### Added
11+
- Spells & prayers section has now improved usability and readability
12+
813
## [2.1.2] - 2025-08-05
914

1015
### Fixed

src/_includes/sheet.html

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1268,10 +1268,10 @@ <h1 class="sr-only">{{ 'h1' | i18n }}</h1>
12681268
<abbr title="{{ 'spells.cn' | i18n }}">{{ 'spells.cnAbbr' | i18n }}</abbr>
12691269
</span>
12701270
</th>
1271-
<th scope="col">
1271+
<th scope="col" class="narrow">
12721272
<span id="spells-range-label">{{ 'spells.range' | i18n }}</span>
12731273
</th>
1274-
<th scope="col">
1274+
<th scope="col" class="narrow">
12751275
<span id="spells-target-label">{{ 'spells.target' | i18n }}</span>
12761276
</th>
12771277
<th scope="col">
@@ -1304,8 +1304,9 @@ <h1 class="sr-only">{{ 'h1' | i18n }}</h1>
13041304
<td>
13051305
<input type="text" name="spells-duration-0" id="spells-duration-0" aria-labelledBy="spells-duration-label">
13061306
</td>
1307-
<td>
1308-
<input type="text" name="spells-effects-0" id="spells-effects-0" aria-labelledBy="spells-effects-label">
1307+
<td class="text-align-start">
1308+
<div contenteditable role="textbox" aria-multiline="true" aria-labelledby="spells-effects-label"></div>
1309+
<input type="hidden" name="spells-effects-0" id="spells-effects-0">
13091310
</td>
13101311
<td class="actions">
13111312
<button class="remove" type="button">
@@ -1334,8 +1335,9 @@ <h1 class="sr-only">{{ 'h1' | i18n }}</h1>
13341335
<td>
13351336
<input type="text" name="spells-duration-" id="spells-duration-" aria-labelledBy="spells-duration-label">
13361337
</td>
1337-
<td>
1338-
<input type="text" name="spells-effects-" id="spells-effects-" aria-labelledBy="spells-effects-label">
1338+
<td class="text-align-start">
1339+
<div contenteditable role="textbox" aria-multiline="true" aria-labelledby="spells-effects-label"></div>
1340+
<input type="hidden" name="spells-effects-" id="spells-effects-">
13391341
</td>
13401342
<td class="actions">
13411343
<button class="remove" type="button">

0 commit comments

Comments
 (0)