File tree Expand file tree Collapse file tree 5 files changed +14
-13
lines changed
src/components/ui-component/templates Expand file tree Collapse file tree 5 files changed +14
-13
lines changed Original file line number Diff line number Diff line change @@ -32578,8 +32578,8 @@ reason: https://github.com/angular/material/issues/6214
3257832578.nr-dashboard-form .formlabel {
3257932579 font-size: large;
3258032580 font-weight: 500;
32581- margin-top: 8px ;
32582- margin-bottom: 20px ;
32581+ margin-top: 12px ;
32582+ margin-bottom: 6px ;
3258332583 padding: 0 6px;
3258432584 width: 100%;
3258532585}
Original file line number Diff line number Diff line change 11CACHE MANIFEST
2- # Time: Sat Feb 13 2021 16:18:11 GMT+0000 (Greenwich Mean Time)
2+ # Time: Sun Feb 14 2021 17:51:42 GMT+0000 (Greenwich Mean Time)
33
44CACHE:
55i18n.js
@@ -26,4 +26,4 @@ loading.html
2626NETWORK:
2727*
2828
29- # hash: 9686ac8800bb9d75c8fd13d24177ef0ffbd4fe243ad959e5490d0d0864e6ec1f
29+ # hash: ed72d01c8f17d990eb4b9e4a671f0a55a599caa92ab67f54db486de0aa2cf8db
Original file line number Diff line number Diff line change 701701 } else if ( redNode . type === 'ui_chart' ) {
702702 height = Math . floor ( groupWidth / 2 ) + 1 ;
703703 } else if ( redNode . type === 'ui_form' ) {
704- var optNum = redNode . options . length ; // Sub widget number
705- if ( redNode . label ) {
706- height = optNum + 2 ; // Label and Button
707- } else {
708- height = optNum + 1 ; // Button only
709- }
704+ // var optNum = redNode.options.length; // Sub widget number
705+ // if (redNode.label) {
706+ // height = optNum + 2; // Label and Button
707+ // } else {
708+ // height = optNum + 1; // Button only
709+ // }
710+ height = redNode . rowCount
710711 } else if ( redNode . type === 'ui_lineargauge' ) {
711712 if ( redNode . unit && redNode . name ) {
712713 height = 5 ;
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ module.exports = function(RED) {
2424 order : config . order ,
2525 value : config . payload || node . id ,
2626 width : config . width || group . config . width || 6 ,
27- height : config . height || config . options . length ,
27+ height : config . height || config . splitLayout == true ? Math . ceil ( config . options . length / 2 ) : config . options . length ,
2828 options : config . options ,
2929 formValue : config . formValue ,
3030 submit : config . submit ,
Original file line number Diff line number Diff line change 1414.nr-dashboard-form .formlabel {
1515 font-size : large;
1616 font-weight : 500 ;
17- margin-top : 8 px ;
18- margin-bottom : 20 px ;
17+ margin-top : 12 px ;
18+ margin-bottom : 6 px ;
1919 padding : 0 6px ;
2020 width : 100% ;
2121}
You can’t perform that action at this time.
0 commit comments