diff --git a/src/client/app/widgets/matrices/patchbay.js b/src/client/app/widgets/matrices/patchbay.js index 5698e07d..a329df72 100644 --- a/src/client/app/widgets/matrices/patchbay.js +++ b/src/client/app/widgets/matrices/patchbay.js @@ -70,6 +70,12 @@ class PatchBay extends Canvas { ]}, outputs: {type: 'array|object', value: ['output_1', 'output_2'], help: 'List of output values the inputs can connect to (see `inputs`).'}, + }, [], { + + css: {type: 'string', value: '', help: [ + 'The inputs/ouputs width can be adjusted by using the `.nodes` selector:', + '`.nodes { width: 25% }`', + ]} }) } diff --git a/src/scss/widgets/patchbay.scss b/src/scss/widgets/patchbay.scss index 3e1a6c60..6979f9c1 100644 --- a/src/scss/widgets/patchbay.scss +++ b/src/scss/widgets/patchbay.scss @@ -20,11 +20,10 @@ flex-direction: column; align-items:stretch; margin-bottom: 1rem; - min-width: 50rem; - max-width: 25%; + width: 25%; > div { - width: 100%; + width: 100%!important; height: 100%; flex:1; flex-shrink: 0;