aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-24 23:08:39 -0800
committerFriendika <info@friendika.com>2011-01-24 23:08:39 -0800
commitb0ab3e468b5c20cfe369ff282b7906d1690a3510 (patch)
tree2a765e0e986d27af6a72c43725efcf737cae3acd
parentfc5316fe21d567802adf784d4b984852f0c7ee90 (diff)
downloadvolse-hubzilla-b0ab3e468b5c20cfe369ff282b7906d1690a3510.tar.gz
volse-hubzilla-b0ab3e468b5c20cfe369ff282b7906d1690a3510.tar.bz2
volse-hubzilla-b0ab3e468b5c20cfe369ff282b7906d1690a3510.zip
leave room for vertical scrollbar (when needed)
-rw-r--r--boot.php14
-rw-r--r--view/theme/default/style.css9
-rw-r--r--view/theme/duepuntozero/style.css7
3 files changed, 21 insertions, 9 deletions
diff --git a/boot.php b/boot.php
index 86ad29296..adb1b96f8 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 18b2ee67a..fcc9c94a8 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 388f1e230..3351b35a1 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;
-}