浏览代码

修复页面可能会换行的bug.

jevian ma(马作伟_沃航科技) 1 月之前
父节点
当前提交
e777456ac1
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/views/runtime.vue

+ 3 - 1
src/views/runtime.vue

@@ -248,11 +248,13 @@ onBeforeUnmount(() => {
   justify-content: space-between;
 }
 .header .go-back {
-  max-width: 40%;
   overflow: hidden;
   white-space: nowrap;
   text-overflow: ellipsis;
 }
+.time {
+  flex-shrink: 0; /* 让宽度不会被压缩 */
+}
 .canvas-main {
   margin: 0 8px;
   height: calc(100% - 80px);