Browse Source

[Fix-6038][ui] width of "SQL Statement" in Dag FormLineModal will be shrunk if sql line is too long (#6040)

This closes #6038
lilyzhou 3 years ago
parent
commit
e866d1be86

+ 2 - 0
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/formModel.scss

@@ -90,6 +90,7 @@
       width: 130px;
       width: 130px;
       text-align: right;
       text-align: right;
       margin-right: 8px;
       margin-right: 8px;
+      flex-shrink: 0;
       >span {
       >span {
         font-size: 14px;
         font-size: 14px;
         color: #777;
         color: #777;
@@ -99,6 +100,7 @@
     }
     }
     .cont-box {
     .cont-box {
       flex: 1;
       flex: 1;
+      max-width: calc(100% - 138px);
       .label-box {
       .label-box {
         width: 100%;
         width: 100%;
       }
       }