modxcms / fred

The friendly front-end editor for visual, drag-and-drop content building in MODX CMS
https://fred.modx.com
MIT License
59 stars 25 forks source link

data-fred-min-height not working #400

Closed sottwell closed 3 years ago

sottwell commented 3 years ago

version 1.2.2

The data-fred-min-height attribute isn't working. The drop zone between the menu bar and the footer is not given a height.

image

Previous version: <div data-fred-dropzone="content" data-fred-target="content" data-fred-min-height="500px" style="min-height: 500px;">

1.2.2 <div class="container" data-fred-dropzone="content" data-fred-min-height="500px">

matdave commented 3 years ago

it works, just not universally supported yet. The suggested fallback is to use regular "min-height" style property, or you can create a style in your css for "*[data-fred-dropzone] { min-height: 500px }"

sottwell commented 3 years ago

It works now with the 1.2.3 update. Thank you!