I deal with files, and I wanted to use p: layout instead of my own layout. But p: layoutUnit components scroll by default. When I wanted to remove the scroll bar, I tried:
<style type="text/css"> .ui-layout-center { overflow:hidden !important; } .ui-layout-center .ui-layout-unit-content { overflow:hidden !important; } </style>
and he deleted the scroll bar, but now I do not see the whole page (the web page has become independent). How can I solve this, should I use my own layout?
Thanks in advance.
source share