Hello all
how to resize panel width?
I try this:
app.on('panelOpen', function (panel) {
panel.el.clientWidth = 400;
});
but it does not work.
Thank you for ideas.
Hello all
how to resize panel width?
I try this:
app.on('panelOpen', function (panel) {
panel.el.clientWidth = 400;
});
but it does not work.
Thank you for ideas.
Do it in CSS like
.panel {
width: 400px;
}
And use browser dev tools to inspect its styles in case it may require additionals styles
Thank you so much but how to know should I set 400px or 320px?
I mean, in JavaScript I can check device width and set appropriate width but not sure how to do that in CSS.
Thank you.
CSS media queries?
@media (min-width: 768px) {
...
}
Yes I found that when I posted question …
Thank you.