location: fix various spacing issues

This commit is contained in:
Girish Ramakrishnan
2025-11-06 11:36:58 +01:00
parent 8b520dec48
commit 32ab9a9d32
2 changed files with 22 additions and 9 deletions
+8 -1
View File
@@ -14,7 +14,7 @@ const udpPorts = defineModel('udp');
<div v-for="ports in [ tcpPorts, udpPorts ]" :key="ports">
<FormGroup v-for="(port, key) in ports" :key="key" style="margin-top: 10px;">
<Checkbox :label="port.title" v-model="port.enabled" />
<small>{{ port.description + '. ' + (port.portCount > 1 ? (port.portCount + ' ports. ') : '') }}</small>
<small>{{ port.description + (port.portCount > 1 ? ('. ' + port.portCount + ' ports. ') : '') }}</small>
<small v-show="port.readOnly">{{ $t('appstore.installDialog.portReadOnly') }}</small>
<small class="has-error" v-if="error.port === port.value">Port already taken {{ port }}</small>
<NumberInput v-model="port.value" :disabled="!port.enabled" :min="1"/>
@@ -24,3 +24,10 @@ const udpPorts = defineModel('udp');
</FormGroup>
</div>
</template>
<style scoped>
.pankow-form-group small {
display: block;
margin-bottom: 0.5rem;
}
</style>