Fix issue #15: Dragonroll Frontend: Map Viewer adjustmentes
This commit is contained in:
@@ -129,7 +129,8 @@ async function saveMap() {
|
||||
</label>
|
||||
<label class="form-field">
|
||||
<span>{{ $t('campaigns.map.scale') }}</span>
|
||||
<input v-model.number="form.scale" type="number" min="0.01" step="0.5">
|
||||
<!-- step="any": any decimal works, the 0.01 minimum alone keeps it positive -->
|
||||
<input v-model.number="form.scale" type="number" min="0.01" step="any" inputmode="decimal">
|
||||
</label>
|
||||
<label class="form-field">
|
||||
<span>{{ $t('campaigns.map.offset-x') }}</span>
|
||||
@@ -154,7 +155,16 @@ async function saveMap() {
|
||||
|
||||
<style scoped>
|
||||
.window-wrapper { display: flex; align-items: center; flex-direction: column; }
|
||||
.body { width: 100%; padding: 10px 18px 16px; overflow-y: auto; }
|
||||
/* Stretch so the outer margin insets the content instead of overflowing the window. */
|
||||
.body {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
align-self: stretch;
|
||||
box-sizing: border-box;
|
||||
margin: 10px;
|
||||
padding: 8px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
h3 { margin: 0 0 12px; font-family: MrEavesRemake; }
|
||||
form { display: flex; flex-direction: column; gap: 10px; }
|
||||
.form-field { min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
|
||||
|
||||
Reference in New Issue
Block a user