Commit 2eea791aae7368c9b6e91a84c2a36a4af9a41138
Merge branch 'fix/components-lateralNumericalControl' into 'main_dev'
fix: 修改控制组件滑块 See merge request yunteng/thingskit-front!699
Showing
1 changed file
with
6 additions
and
1 deletions
| @@ -67,7 +67,7 @@ | @@ -67,7 +67,7 @@ | ||
| 67 | <DeviceName :config="config" class="text-center" /> | 67 | <DeviceName :config="config" class="text-center" /> |
| 68 | <main :style="getScale"> | 68 | <main :style="getScale"> |
| 69 | <Spin :spinning="loading" class="w-full h-full"> | 69 | <Spin :spinning="loading" class="w-full h-full"> |
| 70 | - <div class="flex flex-col ml-11 mr-11 w-full"> | 70 | + <div class="flex flex-col" style="width: 80%"> |
| 71 | <span | 71 | <span |
| 72 | :style="{ color: getDesign.fontColor }" | 72 | :style="{ color: getDesign.fontColor }" |
| 73 | class="font-bold text-xl mt-3 truncate text-center" | 73 | class="font-bold text-xl mt-3 truncate text-center" |
| @@ -98,4 +98,9 @@ | @@ -98,4 +98,9 @@ | ||
| 98 | :deep(.ant-slider-track) { | 98 | :deep(.ant-slider-track) { |
| 99 | background: var(--slider-color) !important; | 99 | background: var(--slider-color) !important; |
| 100 | } | 100 | } |
| 101 | + | ||
| 102 | + :deep(.ant-spin-container) { | ||
| 103 | + display: flex !important; | ||
| 104 | + justify-content: center !important; | ||
| 105 | + } | ||
| 101 | </style> | 106 | </style> |