From b950d2f99b8740e14fbfdf5449180b052ea1cf68 Mon Sep 17 00:00:00 2001 From: Alessandro Francia Date: Wed, 18 Jul 2018 16:59:07 +0200 Subject: [PATCH] fix layout axes --- Step/wwwroot/assets/styles/base/card.less | 15 ++++++++------- Step/wwwroot/assets/styles/style.css | 7 ++++--- Step/wwwroot/src/components/production.vue | 9 ++------- .../cards/card-axes-production.vue | 13 ++++++------- .../base-components/cards/softkeys-prefered.vue | 15 --------------- Step/wwwroot/src/modules/plc-softkeys.vue | 17 ----------------- Step/wwwroot/src/services/hub.ts | 2 -- 7 files changed, 20 insertions(+), 58 deletions(-) diff --git a/Step/wwwroot/assets/styles/base/card.less b/Step/wwwroot/assets/styles/base/card.less index b9218c61..a1d96202 100644 --- a/Step/wwwroot/assets/styles/base/card.less +++ b/Step/wwwroot/assets/styles/base/card.less @@ -699,7 +699,7 @@ width: 100%; height: 294px; .tabs{ - height: 30px; + min-height: 30px; width:100%; background-color: @color-whitethree; display: flex; @@ -720,13 +720,14 @@ .tab:last-child{ border: none; } - .content-box{ - height: calc(~'100% - 30px'); - background-color: red; - width: 100%; - display: flex; - } } + .content-box{ + height: calc(~'100% - 30px'); + width: 100%; + display: flex; + flex-flow: column; + overflow: auto; + } } } diff --git a/Step/wwwroot/assets/styles/style.css b/Step/wwwroot/assets/styles/style.css index 514bd9f4..2e8277a9 100644 --- a/Step/wwwroot/assets/styles/style.css +++ b/Step/wwwroot/assets/styles/style.css @@ -4461,7 +4461,7 @@ footer .container button.big:before { height: 294px; } .card-axes-production .second-box-axes .tabs { - height: 30px; + min-height: 30px; width: 100%; background-color: #e7e7e7; display: flex; @@ -4483,11 +4483,12 @@ footer .container button.big:before { .card-axes-production .second-box-axes .tabs .tab:last-child { border: none; } -.card-axes-production .second-box-axes .tabs .content-box { +.card-axes-production .second-box-axes .content-box { height: calc(100% - 30px); - background-color: red; width: 100%; display: flex; + flex-flow: column; + overflow: auto; } .card-folder-path { width: auto; diff --git a/Step/wwwroot/src/components/production.vue b/Step/wwwroot/src/components/production.vue index c7898ade..8dcee275 100644 --- a/Step/wwwroot/src/components/production.vue +++ b/Step/wwwroot/src/components/production.vue @@ -8,8 +8,8 @@
- - + +
@@ -36,11 +36,6 @@ -
diff --git a/Step/wwwroot/src/modules/base-components/cards/card-axes-production.vue b/Step/wwwroot/src/modules/base-components/cards/card-axes-production.vue index 8efafb4d..fb8ddac6 100644 --- a/Step/wwwroot/src/modules/base-components/cards/card-axes-production.vue +++ b/Step/wwwroot/src/modules/base-components/cards/card-axes-production.vue @@ -13,11 +13,11 @@
- - - + + +
-
+
{{a.name}} @@ -27,7 +27,7 @@
-
+
{{a.name}} @@ -37,7 +37,7 @@
-
+
{{a.name}} @@ -111,7 +111,6 @@ export default { } }, axes: function(name,value) { - debugger var nameAxes; var valueAxes; var newAxis = []; diff --git a/Step/wwwroot/src/modules/base-components/cards/softkeys-prefered.vue b/Step/wwwroot/src/modules/base-components/cards/softkeys-prefered.vue index 9a4a04fe..86e2f77b 100644 --- a/Step/wwwroot/src/modules/base-components/cards/softkeys-prefered.vue +++ b/Step/wwwroot/src/modules/base-components/cards/softkeys-prefered.vue @@ -9,13 +9,6 @@ {{title}}
-
@@ -27,10 +20,6 @@
{{getSubKeyText(k)}} -
diff --git a/Step/wwwroot/src/modules/plc-softkeys.vue b/Step/wwwroot/src/modules/plc-softkeys.vue index 884a140c..991ea990 100644 --- a/Step/wwwroot/src/modules/plc-softkeys.vue +++ b/Step/wwwroot/src/modules/plc-softkeys.vue @@ -73,23 +73,6 @@
- -
diff --git a/Step/wwwroot/src/services/hub.ts b/Step/wwwroot/src/services/hub.ts index e3ef10a6..dae004b9 100644 --- a/Step/wwwroot/src/services/hub.ts +++ b/Step/wwwroot/src/services/hub.ts @@ -110,9 +110,7 @@ export class Hub { } private static axesPositionsDataChanged(data) { - debugger processModelActions.setValueAxisSelected(store, data); - console.log(data); } private static magazineStatusChanged(data){