diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-05 03:15:57 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-05 03:15:57 +0000 |
commit | deb2f017851520137695afa6c9d594fd4560698d (patch) | |
tree | c2479d0bdcd5d1fe82cf5093b4529a202fcd8596 /mod/developers/views | |
parent | 059515703b680040a3a256c54f14252c2d41ce82 (diff) | |
download | elgg-deb2f017851520137695afa6c9d594fd4560698d.tar.gz elgg-deb2f017851520137695afa6c9d594fd4560698d.tar.bz2 |
setting size for iframe for css preview
git-svn-id: http://code.elgg.org/elgg/trunk@8024 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/developers/views')
-rw-r--r-- | mod/developers/views/default/admin/developers/preview.php | 2 | ||||
-rw-r--r-- | mod/developers/views/default/developers/css.php | 11 |
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 |