custom-pages icon indicating copy to clipboard operation
custom-pages copied to clipboard

PHP Container Pages too wide

Open jelofson opened this issue 2 years ago • 1 comments

Adding a PHP page to a space requires the php page to be in container_pages folder. This, then adds the "container" class to the content. The container class makes the content far too wide for the space. Perhaps I am not understanding what a container page is for. This seems the only option for a space PHP page, however.

jelofson avatar Mar 31 '22 16:03 jelofson

For now, I have modified the php view to mimic the markdown view with

<div class="panel panel-default <?= Html::encode($cssClass) ?>">
    <div class="panel-body">
        ///// php page logic here
    </div>
</div>

jelofson avatar Mar 31 '22 17:03 jelofson