Fix Preview button position

This commit is contained in:
Chris Ryan 2025-08-09 20:08:08 +10:00
parent 423d9229a8
commit 0c8ea90ada
2 changed files with 11 additions and 1 deletions

View file

@ -571,6 +571,16 @@
white-space: nowrap; white-space: nowrap;
} }
} }
.button-container {
display: grid;
grid-template-columns: 1fr;
gap: 10px;
text-align: center;
display: flex;
justify-content: center;
width: 100%
}
} }
footer { footer {

View file

@ -69,7 +69,7 @@
{{selectOptions diceSoNiceMaterials selected=diceTab.source.material valueAttr="key" labelAttr="name" localize=true}} {{selectOptions diceSoNiceMaterials selected=diceTab.source.material valueAttr="key" labelAttr="name" localize=true}}
</select> </select>
</div> </div>
<div class="label-container"> <div class="button-container">
<button data-action="preview"> <button data-action="preview">
<i class="fa-solid fa-dice"></i> <i class="fa-solid fa-dice"></i>
<span>{{localize "Preview"}}</span> <span>{{localize "Preview"}}</span>