Skip to content

Commit

Permalink
[BUGFIX] Add space below "new element" button
Browse files Browse the repository at this point in the history
The "create new element" button in the form
editor was cut off.

This is fixed by calculating the height
minus the doc-header height.

Resolves: #94773
Releases: master
Change-Id: I7dfc891138473592c76562c6802430a4311739a2
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70394
Tested-by: Björn Jacob <bjoern.jacob@tritum.de>
Tested-by: waldhacker <hello@waldhacker.dev>
Reviewed-by: Björn Jacob <bjoern.jacob@tritum.de>
Reviewed-by: waldhacker <hello@waldhacker.dev>
  • Loading branch information
ochorocho authored and waldhacker1 committed Aug 13, 2021
1 parent db93005 commit e9c09bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Build/Sources/Sass/form.scss
Expand Up @@ -518,7 +518,8 @@ $tree-line-height: 20px;
#t3-form-stage-container {
overflow: auto;
position: relative;
height: 100%;
height: calc(100% - #{$module-docheader-height});
max-height: 100%;
text-align: center;

ol,
Expand Down

0 comments on commit e9c09bc

Please sign in to comment.