Set minimum box height in theme customization panel

Permalink
Hi
I am currently building an editable theme for a client. I need to make the height of a box area editable but the customization panel will only allow me to set it to a maximum of 400px
I need at least 500px, if not more. Where can I adjust the panel?

pixeljunkie
 
typoman76 replied on at Permalink Reply
typoman76
Hi!
Do you mean the dialog box when editing a block?
pixeljunkie replied on at Permalink Reply
pixeljunkie
Hi
No, when you open the theme customization panel on the left, a less-variable of type size targetting the min-height of an area will only allow customization in the panel up to 400 px.

I've solved the issue with a script, but there surely is a more elegant solution ...
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi pixeljunkie,

The customizable size style looks to be hard coded to a max of 400px:
https://github.com/concrete5/concrete5/blob/develop/concrete/js/buil...

I think an argument could be made for increasing this to something like 1000px perhaps.

In the meantime, you can use Custom CSS to control the height of an element.
pixeljunkie replied on at Permalink Reply
pixeljunkie
Hi Karl
Tx for your reply.
I have solved this issue using javascript. The thing is, if you have a layout with three boxes, each of them can be targetted with a different background-color and you never know how much content the client is going to drop into them, the colours should run all the way down to the bottom of the highest box. I had thought to solve this by allowing my customer (who does not know css) to adjust the min-height of all boxes with a variable of type size to accomodate for the longest content. A greater value to set in the theme customization panel would really be helpful. Maybe the core team could consider this in an upcoming update.
:D
web089 replied on at Permalink Reply 1 Attachment
web089
This contribution is a bit older. Is there already a solution from the core team? I have the same requirement
Or could you help me with your javascript solution?