[TYPO3-dev] typo3/mod.php does NOT allow scrolling
Mathias Schreiber [wmdb >]
mathias.schreiber at wmdb.de
Tue Mar 10 09:36:40 CET 2009
Hi guys (n gals),
I just wanted to ask whether you considr this a bug or an intended
"feature" before I supply a patch.
Background:
typo3/stylesheet.css sets all body tags with the ID typo3-mod-php to
height 100% and overflow hidden.
This involves all backend modules that use mod.php (see
typo3/template.php on line 235, which changes typo3/mod.php to
typo3-mod-php).
At least for me this makes no sense, since scrolling in modules might
appear from time to time.
In order to break next to nothing I suggest to remove the selector
body#typo3-mod-php from the stylesheet rule and copy the selector to
body#typo3-mod-php {
padding: 0;
margin: 0;
overflow: auto;
height: 100%;
}
Another option would be to leave the module body like it is but then
give the div.typo3-bigDoc 100% height and overflow: auto;
Suggestions please.
Mathias
More information about the TYPO3-dev
mailing list