style:optimize the style of the e2e/ns detail page 04/95804/1
authorcyuamber <xuranyjy@chinamobile.com>
Tue, 17 Sep 2019 09:18:12 +0000 (17:18 +0800)
committercyuamber <xuranyjy@chinamobile.com>
Tue, 17 Sep 2019 09:18:16 +0000 (17:18 +0800)
Change-Id: I3731983e962faf07c0f1d3cb27cc5b4953ef1998
Issue-ID: USECASEUI-307
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
usecaseui-portal/src/app/shared/components/e2e-detail/e2e-detail.component.html
usecaseui-portal/src/app/shared/components/e2e-detail/e2e-detail.component.less

index c0953a9..976a9f6 100644 (file)
@@ -50,7 +50,7 @@
         <h3>{{template.name}}</h3>
         <ul class="clearfix">
           <li *ngFor="let input of template.vnfs; let i = index;">
-            <span style="width: 26%"> vf_location: </span>
+            <span style="width: 26%;min-width: 80px!important"> vf_location: </span>
             <span class="input-content">{{input["vf_location"]}}</span>
           </li>
         </ul>
         <h4>vnfs Inputs</h4>
         <ul>
           <li *ngFor="let vnf of ns_nestedTemplates;">
-            <h5>id: {{vnf.vnfInstanceId}}</h5>
-            <span style="width: 26%"> vf_location: </span>
-            <span class="input-content">{{vnf["vnfInstanceName"]}}</span>
+            <h5>
+              <span style="width: 26%;min-width: 80px!important"> id: </span>
+              <span class="input-content"> {{vnf.vnfInstanceId}}</span>
+            </h5>
+           <h5>
+             <span style="width: 26%;min-width: 80px!important"> vf_location: </span>
+             <span class="input-content">{{vnf["vnfInstanceName"]}}</span>
+           </h5>
           </li>
         </ul>
       </div>
index e560cd9..bada599 100644 (file)
@@ -110,15 +110,18 @@ hr {
           display: inline-block;
           width: 50%;
           font: 700 14px "Arial";
-          vertical-align: middle;
+          vertical-align: top;
           overflow: hidden;
           text-align: left;
           color:rgba(60,79,140,0.5);
+          word-break: break-all;
         }
         span.input-content{
           width: 42%;
           color: #3C4F8C;
           margin-left: 5%;
+          word-break: break-all;
+          vertical-align: top;
         }
       }
     }
@@ -128,7 +131,7 @@ hr {
     padding: 10px;
     height: 95%;
     box-shadow: 0px 10px 35px 10px rgba(222, 222, 222, 0.5);
-    margin-right: 40px;
+    margin-right: 1%;
     background:linear-gradient(180deg,rgba(183, 230, 247, 1) 0%,rgba(214, 240, 254, 1) 100%);
     border-radius: 4px;
     #createChart{