Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Avoids double scrollbar issue in the embedded admin #15

Merged
merged 1 commit into from

2 participants

@dz
dz commented

800px creates two scrollbars in windows < 800px tall. Changing to 80% height fixes by always making iframe a proportinal amount of window height.

@dcramer dcramer was assigned
@dcramer dcramer merged commit 80edf66 into disqus:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  disqus/manage.php
View
2  disqus/manage.php
@@ -226,7 +226,7 @@ function wp_nonce_field() {}
echo 'http://'.$url.'.'.DISQUS_DOMAIN.'/admin/moderate/';
} else {
echo DISQUS_URL.'admin/moderate/';
- } ?>?template=wordpress" style="width: 100%; height: 800px"></iframe>
+ } ?>?template=wordpress" style="width: 100%; height: 80%"></iframe>
</div>
<?php } ?>
</div>
Something went wrong with that request. Please try again.