benjaminkott / bootstrap_package

Bootstrap Package delivers a full configured theme for TYPO3, based on the Bootstrap CSS Framework.

Home Page:https://www.bootstrap-package.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Render gallery container in TextpicAbove and TextmediaAbove only if files exist

Hawkeye1909 opened this issue · comments

commented

Feature Request

Is your feature request related to a problem? Please describe

Sometimes editors add CE like textpic but do not add an image at all. Since the default setting for 'imageorient' is 'Above, center' (0) and due to the fact a gap is added between gallery and text (here), there is a not needed space above the text when the container is rendered.

Describe the solution you'd like

Only render the gallery container in the files TextpicAbove.html and TextmediaAbove.html if files exist to prevent the gap.