Task #61824
closedLimit hight of content elements in the Page Module via CSS
100%
Description
Please limit the height of content elements. It is impossible to use drag & drop with a contact form because it is to high.
Files
Updated by Benni Mack over 9 years ago
- Subject changed from Limit hight of content elements to Limit hight of content elements in the Page Module via CSS
- Target version set to 7.4 (Backend)
- Sprint Focus set to On Location Sprint
Can easily be done via CSS I think.
Updated by Philipp Parzer over 9 years ago
We can't apply a max-height rule for every tt_content element (lost information, not suitable for every element).
What we can do is a max-height rule while dragging the element.
Workaround for limiting the current element:
typo3_src/Build/Resources/Public/Less/TYPO3/_module_web_page.less :
.t3-page-ce-dropzone-available.active, .ui-sortable-helper, .t3-page-ce-dropzone-possible{
max-height:200px!important;
}
.ui-sortable-helper{
overflow:hidden;
}
TODO:
typo3/sysext/backend/Resources/Public/JavaScript/LayoutModule/DragDrop.js
adding a class for the container while dragging
max-height rule for all tt_content elements in this container
Optional:
Header into the .t3-page-ce-header
Hide .t3-page-ce-body during dragging
Updated by Riccardo De Contardi over 9 years ago
Hide .t3-page-ce-body while dragging seems a nice idea: +1
Updated by Gerrit Code Review over 9 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/41690
Updated by Gerrit Code Review over 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/41690
Updated by Anonymous over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 58e0313413d7fa0ed2f47288651bcc8a86098755.
Updated by Anja Leichsenring almost 9 years ago
- Sprint Focus deleted (
On Location Sprint)
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed