feat: organize checks in columns

This commit is contained in:
Johannes Loher 2023-06-25 14:33:39 +02:00
parent 692d311558
commit 4b97bde6d9
Signed by: saluu
GPG key ID: 7CB0A9FB553DA045
3 changed files with 4 additions and 2 deletions

View file

@ -5,6 +5,6 @@
*/ */
.ds4-actor-sheet { .ds4-actor-sheet {
min-height: 635px; min-height: 645px;
min-width: 650px; min-width: 650px;
} }

View file

@ -7,7 +7,9 @@
.ds4-checks { .ds4-checks {
column-gap: 2em; column-gap: 2em;
display: grid; display: grid;
grid-auto-flow: column;
grid-template-columns: 1fr 1fr 1fr; grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: repeat(10, 1fr);
row-gap: 0.25em; row-gap: 0.25em;
white-space: nowrap; white-space: nowrap;
} }

View file

@ -21,7 +21,7 @@ export class DS4ActorSheet extends ActorSheet {
static get defaultOptions() { static get defaultOptions() {
return foundry.utils.mergeObject(super.defaultOptions, { return foundry.utils.mergeObject(super.defaultOptions, {
classes: ["sheet", "ds4-actor-sheet"], classes: ["sheet", "ds4-actor-sheet"],
height: 635, height: 645,
scrollY: [".ds4-sheet-body"], scrollY: [".ds4-sheet-body"],
tabs: [{ navSelector: ".ds4-sheet-tab-nav", contentSelector: ".ds4-sheet-body", initial: "values" }], tabs: [{ navSelector: ".ds4-sheet-tab-nav", contentSelector: ".ds4-sheet-body", initial: "values" }],
dragDrop: [ dragDrop: [