From a8aa99210206295aceeeb18f04bcf3650fe5a754 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Thu, 20 Dec 2012 04:19:02 +0100 Subject: [PATCH] Vier: Design issues with preview fixed --- include/network.php | 3 +++ view/theme/vier/style.css | 19 +++++++++++++------ 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/include/network.php b/include/network.php index 5877dda41b..f6e6cc2a30 100644 --- a/include/network.php +++ b/include/network.php @@ -15,6 +15,9 @@ function fetch_url($url,$binary = false, &$redirects = 0, $timeout = 0, $accept_ @curl_setopt($ch, CURLOPT_HEADER, true); + @curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); + @curl_setopt($ch, CURLOPT_MAXREDIRS, 5); + if (!is_null($accept_content)){ curl_setopt($ch,CURLOPT_HTTPHEADER, array ( "Accept: " . $accept_content diff --git a/view/theme/vier/style.css b/view/theme/vier/style.css index b278cbf8c5..f7e10c94de 100644 --- a/view/theme/vier/style.css +++ b/view/theme/vier/style.css @@ -1244,8 +1244,11 @@ border-bottom: 1px solid #D2D2D2; .wall-item-container.comment .wall-item-links { padding-left: 12px; } +.wall-item-bottom .wall-item-comment-wrapper { + margin: 1px 5px 1px 0px; +} .wall-item-comment-wrapper { - margin: 1px 5px 1px 80px; + margin: 1px 15px 1px 80px; } .wall-item-comment-wrapper .comment-edit-photo { display: none; @@ -1270,11 +1273,6 @@ border-bottom: 1px solid #D2D2D2; margin-right: 1em; } -.comment-edit-preview { - width: 660px; - border: 1px solid #2d2d2d; - margin-top: 10px; -} .comment-edit-preview .contact-photo { width: 32px; height: 32px; @@ -1283,6 +1281,9 @@ border-bottom: 1px solid #D2D2D2; } .comment-edit-preview { + width: 660px; + border: 1px solid #2d2d2d; + margin-top: 10px; top: 15px !important; left: 15px !important; } @@ -1296,6 +1297,12 @@ border-bottom: 1px solid #D2D2D2; width: 700px; padding: 0; margin: 10px 0; + border-bottom: 0px; +} + +.wall-item-bottom .comment-edit-preview { + width: 575px; + margin-bottom: 5px; } .shiny {