Make the object take up the whole screen so that it doesn't get cut off
This commit is contained in:
parent
7f8fe9420b
commit
31d64d6683
@ -1,13 +1,15 @@
|
||||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
||||
<div id="gMPTTTree">
|
||||
<h2>
|
||||
<?= t("MPTT Tree Visuallizer") ?>
|
||||
<?= t("MPTT Tree Visualizer") ?>
|
||||
</h2>
|
||||
<div id="gMPTT">
|
||||
<? if (empty($url)): ?>
|
||||
<pre><?= $tree ?></pre>
|
||||
<? else: ?>
|
||||
<object type="image/svg+xml" data="<?= $url ?>" style="width: 100%" ><pre><?= $tree ?></pre></object>
|
||||
<object type="image/svg+xml" data="<?= $url ?>" style="width: 100%; height: 100%;" >
|
||||
<pre><?= $tree ?></pre>
|
||||
</object>
|
||||
<? endif ?>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user