brgjames
(Brian Reaves)
1
Is there a way to increase the height of the Preview viewing area? If not, it would be quite nice if it extended to a per cent of viewport. e.g. 85%.
As it is now, I have a long vertical screen with over half as white space (See attached screenshot) and thus a lot of scrolling.
preview_white_space.png (77.4 KB)
nnhubbard
(Nic Hubbard)
2
Is there a way to increase the height of the Preview viewing area? If not, it would be quite nice if it extended to a per cent of viewport. e.g. 85%.
Sadly no. In preview.inc it is hardcoded as 400px:
<iframe name="sq_preview_frame" id="sq_preview_frame" src="<?php echo $primary_url; ?>" style="width: 100%; height: 400px; border: 1px solid #C3C3C3;"></iframe>
If you have access to changing the code, you could always modify it yourself.
brgjames
(Brian Reaves)
3
Hi Nic,
Thank you for the quick reply!
My guess is this would be changed back when Squiz is updated to a new version... :(