Fix horizontal overflows in actor sheets

This commit is contained in:
Johannes Loher 2021-03-08 09:58:26 +01:00
parent 50fb044926
commit a48fedd937
4 changed files with 8 additions and 2 deletions

View file

@ -6,6 +6,7 @@
@include meta.load-css("scss/global/fonts"); @include meta.load-css("scss/global/fonts");
@include meta.load-css("scss/global/grid"); @include meta.load-css("scss/global/grid");
@include meta.load-css("scss/global/window"); @include meta.load-css("scss/global/window");
@include meta.load-css("scss/components/actor_sheet");
/* Styles limited to ds4 sheets */ /* Styles limited to ds4 sheets */
.ds4 { .ds4 {

View file

@ -15,7 +15,7 @@ export class DS4ActorSheet extends ActorSheet<ActorSheet.Data<DS4Actor>> {
const superDefaultOptions = super.defaultOptions; const superDefaultOptions = super.defaultOptions;
return mergeObject(superDefaultOptions, { return mergeObject(superDefaultOptions, {
classes: ["ds4", "sheet", "actor"], classes: ["ds4", "sheet", "actor"],
width: 745, width: 650,
height: 600, height: 600,
scrollY: [ scrollY: [
".inventory", ".inventory",

View file

@ -0,0 +1,4 @@
.ds4.sheet.actor {
min-width: 650px;
min-height: 500px;
}

View file

@ -53,7 +53,8 @@
height: $row-height; height: $row-height;
line-height: $row-height; line-height: $row-height;
white-space: nowrap; white-space: nowrap;
overflow-y: hidden; overflow: hidden;
text-overflow: ellipsis;
} }
} }