From 1c908b50cbb23ef2254e462af0c47f6bf9e3c503 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Sat, 10 Dec 2022 16:33:58 +0100 Subject: [PATCH] Dialog repos --- module/dialog-repos.js | 2 +- templates/dialog-repos.html | 14 +++++--------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/module/dialog-repos.js b/module/dialog-repos.js index e5e10576..2c7d601b 100644 --- a/module/dialog-repos.js +++ b/module/dialog-repos.js @@ -9,7 +9,7 @@ export class DialogRepos extends Dialog { } constructor(html, actor) { - let options = { classes: ["DialogCreateSigneDraconiqueActorsActors"], width: 500, height: 400, 'z-index': 99999 }; + let options = { classes: ["DialogCreateSigneDraconiqueActorsActors"], width: 400, height: 'fit-content', 'z-index': 99999 }; let conf = { title: "Se reposer", content: html, diff --git a/templates/dialog-repos.html b/templates/dialog-repos.html index 48aabdd2..f3a0c6d3 100644 --- a/templates/dialog-repos.html +++ b/templates/dialog-repos.html @@ -1,15 +1,14 @@ -
+ + {{name}}
-
- {{name}} -

{{name}} se repose

+

{{name}} se repose

-
+

@@ -18,21 +17,18 @@
-
-
+

-
-
\ No newline at end of file