From dd09acffbdc02b39d32d24cbc3a70b37b50cd294 Mon Sep 17 00:00:00 2001 From: Christian Wiwie Date: Sat, 14 Mar 2020 22:58:25 +0100 Subject: [PATCH] #8374: Making link a button --- showmore_dyn/showmore_dyn.css | 8 ++++++++ showmore_dyn/showmore_dyn.js | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/showmore_dyn/showmore_dyn.css b/showmore_dyn/showmore_dyn.css index 76bb7555..e351594f 100644 --- a/showmore_dyn/showmore_dyn.css +++ b/showmore_dyn/showmore_dyn.css @@ -20,6 +20,14 @@ left: 0; text-shadow: 0 0 5px #f6f6f6; font-weight: bold; + + background: none!important; + border: none; + padding: 0!important; + cursor: pointer; +} +.wall-item-body-toggle-text:hover { + text-decoration:underline; } .wall-item-body { position: relative; diff --git a/showmore_dyn/showmore_dyn.js b/showmore_dyn/showmore_dyn.js index 4442da76..e03e34ae 100644 --- a/showmore_dyn/showmore_dyn.js +++ b/showmore_dyn/showmore_dyn.js @@ -45,7 +45,7 @@ function addHeightToggleHandler($item) { var toggleId = "wall-item-body-toggle-" + itemId; $item.wrap('
'); - $("#" + wrapperId).append('
' + showmore_dyn_showmore_linktext + '
'); + $("#" + wrapperId).append('
'); $item.addClass("limitable limit-height"); var $toggle = $("#" + toggleId); -- 2.39.5