Alignement description en haut

This commit is contained in:
Vincent Vandemeulebrouck 2023-01-31 21:40:21 +01:00
parent 9f24aee1f3
commit 2e144851d4
2 changed files with 7 additions and 2 deletions

View File

@ -633,6 +633,7 @@ input:is(.blessure-premiers_soins, .blessure-soins_complets) {
border: 2; border: 2;
min-height: 8rem; min-height: 8rem;
padding: 0 3px; padding: 0 3px;
align-items: top;
} }
.small-editor { .small-editor {
@ -641,6 +642,10 @@ input:is(.blessure-premiers_soins, .blessure-soins_complets) {
padding: 0 3px; 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 { .foundryvtt-reve-de-dragon .tox .tox-editor-container {
background: #fff; background: #fff;
} }

View File

@ -1,11 +1,11 @@
<div class="flexcol"> <div>
<span><label>Description : </label></span> <span><label>Description : </label></span>
<div class="form-group large-editor"> <div class="form-group large-editor">
{{editor description target="system.description" button=true owner=options.isOwner editable=options.editable engine="prosemirror"}} {{editor description target="system.description" button=true owner=options.isOwner editable=options.editable engine="prosemirror"}}
</div> </div>
</div> </div>
{{#if options.isGM}} {{#if options.isGM}}
<div class="flexcol"> <div>
<span><label>Description (MJ seulement): </label></span> <span><label>Description (MJ seulement): </label></span>
<div class="form-group large-editor"> <div class="form-group large-editor">
{{editor descriptionmj target="system.descriptionmj" button=true owner=options.isOwner editable=options.editable engine="prosemirror"}} {{editor descriptionmj target="system.descriptionmj" button=true owner=options.isOwner editable=options.editable engine="prosemirror"}}