patchbay: fix nodes width and document how to change it
This commit is contained in:
parent
3bfb896521
commit
156c066ae7
2 changed files with 8 additions and 3 deletions
|
|
@ -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% }`',
|
||||
]}
|
||||
})
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue