Corrections esthétiques #592
@ -116,16 +116,15 @@ export class RdDRollResolutionTable extends Dialog {
|
||||
|
||||
const htmlTable = await RdDResolutionTable.buildHTMLTable({
|
||||
carac: rollData.caracValue,
|
||||
level: rollData.finalLevel
|
||||
level: rollData.finalLevel,
|
||||
maxCarac: 20,
|
||||
maxLevel: 10
|
||||
});
|
||||
|
||||
// Mise à jour valeurs
|
||||
this.html.find("[name='carac']").val(rollData.caracValue);
|
||||
this.html.find(".roll-param-resolution").text(rollData.selectedCarac.value + " / " + Misc.toSignedString(rollData.finalLevel));
|
||||
this.html.find(".table-resolution").remove();
|
||||
this.html.find(".table-proba-reussite").remove();
|
||||
|
||||
this.html.find("div.placeholder-resolution").append(htmlTable)
|
||||
this.html.find("div.placeholder-resolution").empty().append(htmlTable)
|
||||
|
||||
}
|
||||
|
||||
|
@ -116,6 +116,10 @@ select, button, .item-checkbox, #sidebar, #players, #navigation #nav-toggle {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
section.window-content div.dialog-buttons {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.strong-text {
|
||||
font-weight: bold;
|
||||
}
|
||||
@ -658,11 +662,9 @@ input:is(.blessure-premiers_soins, .blessure-soins_complets) {
|
||||
font-size: 0.8rem;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.placeholder-ajustements {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.table-resolution-carac {
|
||||
background-color: yellow;
|
||||
}
|
||||
|
@ -24,8 +24,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="placeholder-resolution">
|
||||
</div>
|
||||
<div class="placeholder-resolution"></div>
|
||||
</form>
|
||||
|
||||
<script>
|
||||
|
Loading…
Reference in New Issue
Block a user