From 2e144851d4304edcf18595eec2160a538d1f06d1 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Tue, 31 Jan 2023 21:40:21 +0100 Subject: [PATCH] Alignement description en haut --- styles/simple.css | 5 +++++ templates/partial-item-description.html | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/styles/simple.css b/styles/simple.css index 2829c704..ddf0562e 100644 --- a/styles/simple.css +++ b/styles/simple.css @@ -633,6 +633,7 @@ input:is(.blessure-premiers_soins, .blessure-soins_complets) { border: 2; min-height: 8rem; padding: 0 3px; + align-items: top; } .small-editor { @@ -641,6 +642,10 @@ input:is(.blessure-premiers_soins, .blessure-soins_complets) { padding: 0 3px; } +.foundryvtt-reve-de-dragon.sheet :is(.large-editor,.editor,.medium-editor,.small-editor){ + align-items: start; +} + .foundryvtt-reve-de-dragon .tox .tox-editor-container { background: #fff; } diff --git a/templates/partial-item-description.html b/templates/partial-item-description.html index 06979f7c..730deef4 100644 --- a/templates/partial-item-description.html +++ b/templates/partial-item-description.html @@ -1,11 +1,11 @@ -
+
{{editor description target="system.description" button=true owner=options.isOwner editable=options.editable engine="prosemirror"}}
{{#if options.isGM}} -
+
{{editor descriptionmj target="system.descriptionmj" button=true owner=options.isOwner editable=options.editable engine="prosemirror"}}