Fix horizontal overflows in actor sheets
This commit is contained in:
parent
50fb044926
commit
a48fedd937
4 changed files with 8 additions and 2 deletions
|
@ -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 {
|
||||
|
|
|
@ -15,7 +15,7 @@ export class DS4ActorSheet extends ActorSheet<ActorSheet.Data<DS4Actor>> {
|
|||
const superDefaultOptions = super.defaultOptions;
|
||||
return mergeObject(superDefaultOptions, {
|
||||
classes: ["ds4", "sheet", "actor"],
|
||||
width: 745,
|
||||
width: 650,
|
||||
height: 600,
|
||||
scrollY: [
|
||||
".inventory",
|
||||
|
|
4
src/scss/components/_actor_sheet.scss
Normal file
4
src/scss/components/_actor_sheet.scss
Normal file
|
@ -0,0 +1,4 @@
|
|||
.ds4.sheet.actor {
|
||||
min-width: 650px;
|
||||
min-height: 500px;
|
||||
}
|
|
@ -53,7 +53,8 @@
|
|||
height: $row-height;
|
||||
line-height: $row-height;
|
||||
white-space: nowrap;
|
||||
overflow-y: hidden;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue