浏览代码

[Style 0000] 可配置首页设备选择头样式优化

houzekong 1 月之前
父节点
当前提交
1cb14f2603
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/vent/home/configurable/components/header.vue

+ 1 - 1
src/views/vent/home/configurable/components/header.vue

@@ -12,7 +12,7 @@
     >
     >
       <div class="flex-basis-100% flex flex-items-center" @click.prevent>
       <div class="flex-basis-100% flex flex-items-center" @click.prevent>
         <SwapOutlined class="w-30px" />
         <SwapOutlined class="w-30px" />
-        <div class="flex-grow-1">
+        <div class="w-100px flex-grow-1 overflow-hidden whitespace-nowrap text-ellipsis">
           {{ selectedDeviceLabel }}
           {{ selectedDeviceLabel }}
         </div>
         </div>
         <CaretUpOutlined class="w-30px" v-if="visible" />
         <CaretUpOutlined class="w-30px" v-if="visible" />