aboutsummaryrefslogtreecommitdiff
path: root/mod/developers/views
diff options
context:
space:
mode:
Diffstat (limited to 'mod/developers/views')
-rw-r--r--mod/developers/views/default/admin/developers/preview.php2
-rw-r--r--mod/developers/views/default/developers/css.php11
2 files changed, 12 insertions, 1 deletions
diff --git a/mod/developers/views/default/admin/developers/preview.php b/mod/developers/views/default/admin/developers/preview.php
index a51c99bee..fcaf5e86b 100644
--- a/mod/developers/views/default/admin/developers/preview.php
+++ b/mod/developers/views/default/admin/developers/preview.php
@@ -5,4 +5,4 @@
$url = elgg_get_site_url() . 'documentation/css/preview/index.php';
?>
-<iframe style="width:100%; height:100%;" src="<?php echo $url; ?>" style="width: 100%;"></iframe> \ No newline at end of file
+<iframe id="developers-iframe" src="<?php echo $url; ?>"></iframe> \ No newline at end of file
diff --git a/mod/developers/views/default/developers/css.php b/mod/developers/views/default/developers/css.php
new file mode 100644
index 000000000..3dd13c7f5
--- /dev/null
+++ b/mod/developers/views/default/developers/css.php
@@ -0,0 +1,11 @@
+<?php
+/**
+ * Admin CSS for Elgg Developers plugin
+ */
+?>
+/*** Elgg Developer Tools ***/
+#developers-iframe {
+ width: 100%;
+ height: 400px;
+ border: none;
+} \ No newline at end of file