From b0ab3e468b5c20cfe369ff282b7906d1690a3510 Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 24 Jan 2011 23:08:39 -0800 Subject: [PATCH] leave room for vertical scrollbar (when needed) --- boot.php | 14 ++++++++++++++ view/theme/default/style.css | 9 ++++----- view/theme/duepuntozero/style.css | 7 +++---- 3 files changed, 21 insertions(+), 9 deletions(-) diff --git a/boot.php b/boot.php index 86ad29296c..adb1b96f85 100644 --- a/boot.php +++ b/boot.php @@ -2215,3 +2215,17 @@ function link_compare($a,$b) { return true; return false; }} + + +if(! function_exists('prepare_body')) { +function prepare_body($item) { + + require_once('include/bbcode.php'); + + $s = smilies(bbcode($item['body'])); + + return $s; + + + +}} \ No newline at end of file diff --git a/view/theme/default/style.css b/view/theme/default/style.css index 18b2ee67a9..fcc9c94a88 100644 --- a/view/theme/default/style.css +++ b/view/theme/default/style.css @@ -985,6 +985,10 @@ input#dfrn-url { width: 450px; margin-left: 10px; margin-bottom: 20px; + padding: 20px; + max-height: 400px; + overflow: auto; + } .wall-item-title { @@ -1996,8 +2000,3 @@ a.mail-list-link { margin-bottom: 15px; } - -.wall-item-content { - max-height: 400px; - overflow:auto; -} diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css index 388f1e2301..3351b35a17 100644 --- a/view/theme/duepuntozero/style.css +++ b/view/theme/duepuntozero/style.css @@ -854,6 +854,9 @@ input#dfrn-url { width: 450px; margin-left: 10px; margin-bottom: 20px; + padding: 20px; + max-height: 400px; + overflow: auto; } .wall-item-title { @@ -1879,7 +1882,3 @@ a.mail-list-link { margin-bottom: 15px; } -.wall-item-content { - max-height: 400px; - overflow:auto; -}