diff --git a/src/ds4.scss b/src/ds4.scss index 9ee0c00..5d5e3eb 100644 --- a/src/ds4.scss +++ b/src/ds4.scss @@ -6,6 +6,7 @@ @include meta.load-css("scss/global/fonts"); @include meta.load-css("scss/global/grid"); @include meta.load-css("scss/global/window"); +@include meta.load-css("scss/components/actor_sheet"); /* Styles limited to ds4 sheets */ .ds4 { diff --git a/src/module/actor/sheets/actor-sheet.ts b/src/module/actor/sheets/actor-sheet.ts index e75f1be..470f33e 100644 --- a/src/module/actor/sheets/actor-sheet.ts +++ b/src/module/actor/sheets/actor-sheet.ts @@ -15,7 +15,7 @@ export class DS4ActorSheet extends ActorSheet> { const superDefaultOptions = super.defaultOptions; return mergeObject(superDefaultOptions, { classes: ["ds4", "sheet", "actor"], - width: 745, + width: 650, height: 600, scrollY: [ ".inventory", diff --git a/src/scss/components/_actor_sheet.scss b/src/scss/components/_actor_sheet.scss new file mode 100644 index 0000000..55fbf56 --- /dev/null +++ b/src/scss/components/_actor_sheet.scss @@ -0,0 +1,4 @@ +.ds4.sheet.actor { + min-width: 650px; + min-height: 500px; +} diff --git a/src/scss/components/_item_list.scss b/src/scss/components/_item_list.scss index dfa69c5..b4d2eda 100644 --- a/src/scss/components/_item_list.scss +++ b/src/scss/components/_item_list.scss @@ -53,7 +53,8 @@ height: $row-height; line-height: $row-height; white-space: nowrap; - overflow-y: hidden; + overflow: hidden; + text-overflow: ellipsis; } }