mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
.
This commit is contained in:
parent
22eb1a64e7
commit
810c070b97
4 changed files with 6 additions and 6 deletions
|
|
@ -61,7 +61,8 @@ export default class AdversarySheet extends DHBaseActorSheet {
|
|||
const applicationOptions = super._initializeApplicationOptions(options);
|
||||
|
||||
if (applicationOptions.document.testUserPermission(game.user, 'LIMITED', { exact: true })) {
|
||||
applicationOptions.window.resizable = false;
|
||||
applicationOptions.position.width = 360;
|
||||
applicationOptions.position.height = 'auto';
|
||||
}
|
||||
|
||||
return applicationOptions;
|
||||
|
|
|
|||
|
|
@ -152,7 +152,8 @@ export default class CharacterSheet extends DHBaseActorSheet {
|
|||
const applicationOptions = super._initializeApplicationOptions(options);
|
||||
|
||||
if (applicationOptions.document.testUserPermission(game.user, 'LIMITED', { exact: true })) {
|
||||
applicationOptions.window.resizable = false;
|
||||
applicationOptions.position.width = 360;
|
||||
applicationOptions.position.height = 'auto';
|
||||
}
|
||||
|
||||
return applicationOptions;
|
||||
|
|
|
|||
|
|
@ -56,7 +56,8 @@ export default class DhpEnvironment extends DHBaseActorSheet {
|
|||
const applicationOptions = super._initializeApplicationOptions(options);
|
||||
|
||||
if (applicationOptions.document.testUserPermission(game.user, 'LIMITED', { exact: true })) {
|
||||
applicationOptions.window.resizable = false;
|
||||
applicationOptions.position.width = 360;
|
||||
applicationOptions.position.height = 'auto';
|
||||
}
|
||||
|
||||
return applicationOptions;
|
||||
|
|
|
|||
|
|
@ -42,9 +42,6 @@
|
|||
&.adversary,
|
||||
&.environment,
|
||||
&.companion {
|
||||
width: 360px !important;
|
||||
height: max-content !important;
|
||||
|
||||
.window-content {
|
||||
display: unset;
|
||||
padding-bottom: 20px;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue