Merge pull request 'Alignement description en haut' (#619) from VincentVk/foundryvtt-reve-de-dragon:v10 into v10

Reviewed-on: public/foundryvtt-reve-de-dragon#619
This commit is contained in:
uberwald 2023-02-01 10:10:42 +01:00
commit 5511acc876
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"}}