Fix espace avant boutons

This commit is contained in:
Vincent Vandemeulebrouck 2022-12-10 16:18:35 +01:00
parent 830e66749d
commit 969cedfc3d
3 changed files with 11 additions and 11 deletions

View File

@ -115,17 +115,16 @@ export class RdDRollResolutionTable extends Dialog {
rollData.finalLevel = this._computeFinalLevel(rollData); rollData.finalLevel = this._computeFinalLevel(rollData);
const htmlTable = await RdDResolutionTable.buildHTMLTable({ const htmlTable = await RdDResolutionTable.buildHTMLTable({
carac:rollData.caracValue, carac: rollData.caracValue,
level: rollData.finalLevel level: rollData.finalLevel,
maxCarac: 20,
maxLevel: 10
}); });
// Mise à jour valeurs // Mise à jour valeurs
this.html.find("[name='carac']").val(rollData.caracValue); 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(".roll-param-resolution").text(rollData.selectedCarac.value + " / " + Misc.toSignedString(rollData.finalLevel));
this.html.find(".table-resolution").remove(); this.html.find("div.placeholder-resolution").empty().append(htmlTable)
this.html.find(".table-proba-reussite").remove();
this.html.find("div.placeholder-resolution").append(htmlTable)
} }

View File

@ -116,7 +116,11 @@ select, button, .item-checkbox, #sidebar, #players, #navigation #nav-toggle {
padding: 0; padding: 0;
} }
.strong-text{ section.window-content div.dialog-buttons {
margin-top: 1rem;
}
.strong-text {
font-weight: bold; font-weight: bold;
} }
i:is(.fas, .far) { i:is(.fas, .far) {
@ -658,11 +662,9 @@ input:is(.blessure-premiers_soins, .blessure-soins_complets) {
font-size: 0.8rem; font-size: 0.8rem;
text-align: right; text-align: right;
} }
.placeholder-ajustements { .placeholder-ajustements {
flex-direction: column; flex-direction: column;
} }
.table-resolution-carac { .table-resolution-carac {
background-color: yellow; background-color: yellow;
} }

View File

@ -24,8 +24,7 @@
</div> </div>
</div> </div>
<div class="placeholder-resolution"> <div class="placeholder-resolution"></div>
</div>
</form> </form>
<script> <script>