fix slider component for global settings of the range type (#10187)

This commit is contained in:
Bernardo De Marco Gonçalves 2025-01-16 11:48:21 -03:00 committed by GitHub
parent 796bd4f72c
commit 9967bb3fe8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -55,9 +55,9 @@
/> />
</a-tooltip> </a-tooltip>
</span> </span>
<span v-else-if="configrecord.type ==='Range'"> <span v-else-if="configrecord.type ==='Range'" style="width: 75%;">
<a-row> <a-row type="flex">
<a-col> <a-col flex="auto">
<a-tooltip :title="editableValue"> <a-tooltip :title="editableValue">
<a-slider <a-slider
style="width: 13vw" style="width: 13vw"
@ -73,10 +73,10 @@
/> />
</a-tooltip> </a-tooltip>
</a-col> </a-col>
<a-col> <a-col flex="30px">
<a-tooltip :title="editableValue"> <a-tooltip :title="editableValue">
<a-input-number <a-input-number
style="width: 5vw; margin-left: 10px; float: right" style="margin-left: 10px;"
class="config-slider-text" class="config-slider-text"
:defaultValue="configrecord.value * 100" :defaultValue="configrecord.value * 100"
:min="0" :min="0"