One more adjustment

master
Skylar Ittner 4 years ago
parent b7cb91d4ca
commit dca0090d8a

@ -32,14 +32,9 @@ if (isset($_GET["backgroundcolor"]) && !empty($_GET["backgroundcolor"]) && preg_
} }
?> ?>
<?php if (!isset($_GET["embed"])) { ?>
<div class="container mt-4"> <div class="container mt-4">
<div class="row justify-content-center"> <div class="row justify-content-center">
<div class="col-12 col-md-8"> <div class="<?php if (!isset($_GET["embed"])) { ?>col-12 col-md-8<?php } else { ?>col-12<?php } ?>">
<?php } else { ?>
<div class="row justify-content-center">
<div class="col-12">
<?php } ?>
<?php <?php
if (empty($_GET["id"]) || (!Machine::exists($_GET["id"]) && !Machine::serialExists($_GET["id"]))) { if (empty($_GET["id"]) || (!Machine::exists($_GET["id"]) && !Machine::serialExists($_GET["id"]))) {
?> ?>
@ -257,13 +252,9 @@ if (isset($_GET["backgroundcolor"]) && !empty($_GET["backgroundcolor"]) && preg_
<?php <?php
} }
?> ?>
<?php if (!isset($_GET["embed"])) { ?>
</div> </div>
</div> </div>
</div> </div>
<?php } else { ?></div>
</div>
<?php } ?>
<?php <?php
// Send message to parent frame with our height so they can adjust the iframe // Send message to parent frame with our height so they can adjust the iframe

Loading…
Cancel
Save