Skip to content

Commit 67194e9

Browse files
ui alignment changes
1 parent e33f9f0 commit 67194e9

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

ui/src/views/setting/ConfigurationRow.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
<template>
1919
<a-container class="config-row">
2020
<a-row :gutter="12">
21-
<a-col :md="18">
21+
<a-col :md="17">
2222
<b> {{configrecord.displaytext }} </b> {{ ' (' + configrecord.name + ')' }} <br/> {{ configrecord.description }}
2323
</a-col>
24-
<a-col :md="6">
24+
<a-col :md="7">
2525
<ConfigurationValue :configrecord="configrecord" :loading="loading" />
2626
</a-col>
2727
</a-row>

ui/src/views/setting/ConfigurationValue.vue

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
/>
5050
</span>
5151
<span v-else-if="configrecord.type ==='Range'">
52-
<a-row :gutter="1">
52+
<a-row :gutter="12">
5353
<a-col :md="10" :lg="10">
5454
<a-slider
5555
:defaultValue="configrecord.value * 100"
@@ -62,7 +62,7 @@
6262
@change="value => setConfigurationEditable(configrecord, value)"
6363
/>
6464
</a-col>
65-
<a-col :md="2" :lg="2">
65+
<a-col :md="4" :lg="4">
6666
<a-input-number
6767
:defaultValue="configrecord.value * 100"
6868
:disabled=true
@@ -88,7 +88,7 @@
8888
</span>
8989
<span v-else>
9090
<a-input
91-
style="width: 15vw;float: right;margin-bottom: 10px; z-index: 8;"
91+
style="width: 13vw;float: right;margin-bottom: 10px; z-index: 8;"
9292
:defaultValue="configrecord.value"
9393
:disabled="!('updateConfiguration' in $store.getters.apis)"
9494
v-model:value="editableValue"
@@ -113,7 +113,6 @@
113113
<tooltip-button
114114
:tooltip="$t('label.reset.config.value')"
115115
@onClick="resetConfigurationValue(configrecord)"
116-
v-if="editableValueKey !== null"
117116
icon="reload-outlined"
118117
:disabled="!('updateConfiguration' in $store.getters.apis)" />
119118
</span>

0 commit comments

Comments
 (0)