From e36c30d28591200844d3cb16c43c7e0a1f90959a Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Thu, 22 Nov 2012 15:06:15 +0100 Subject: [PATCH] Vier: Margin problems with code fixed. --- include/network.php | 2 +- view/theme/vier/style.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/network.php b/include/network.php index edd03d557a..599088a2da 100644 --- a/include/network.php +++ b/include/network.php @@ -99,7 +99,7 @@ if(! function_exists('post_url')) { function post_url($url,$params, $headers = null, &$redirects = 0, $timeout = 0) { $a = get_app(); $ch = curl_init($url); - if(($redirects > 8) || (! $ch)) + if(($redirects > 8) || (! $ch)) return false; curl_setopt($ch, CURLOPT_HEADER, true); diff --git a/view/theme/vier/style.css b/view/theme/vier/style.css index 2c4a7c7049..0d09597bbf 100644 --- a/view/theme/vier/style.css +++ b/view/theme/vier/style.css @@ -398,6 +398,7 @@ code { color: #444; padding: 10px; margin-top: 20px; + max-width: 640px; } #panel { position: absolute;