Skip to content

Commit 9967bb3

Browse files
fix slider component for global settings of the range type (#10187)
1 parent 796bd4f commit 9967bb3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ui/src/views/setting/ConfigurationValue.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@
5555
/>
5656
</a-tooltip>
5757
</span>
58-
<span v-else-if="configrecord.type ==='Range'">
59-
<a-row>
60-
<a-col>
58+
<span v-else-if="configrecord.type ==='Range'" style="width: 75%;">
59+
<a-row type="flex">
60+
<a-col flex="auto">
6161
<a-tooltip :title="editableValue">
6262
<a-slider
6363
style="width: 13vw"
@@ -73,10 +73,10 @@
7373
/>
7474
</a-tooltip>
7575
</a-col>
76-
<a-col>
76+
<a-col flex="30px">
7777
<a-tooltip :title="editableValue">
7878
<a-input-number
79-
style="width: 5vw; margin-left: 10px; float: right"
79+
style="margin-left: 10px;"
8080
class="config-slider-text"
8181
:defaultValue="configrecord.value * 100"
8282
:min="0"

0 commit comments

Comments
 (0)