forked from friendica/friendica-addons
#8374: Fixing css indent; Making addon work with Vier theme
This commit is contained in:
parent
dd09acffbd
commit
58030804cb
2 changed files with 35 additions and 31 deletions
|
@ -20,7 +20,6 @@
|
||||||
left: 0;
|
left: 0;
|
||||||
text-shadow: 0 0 5px #f6f6f6;
|
text-shadow: 0 0 5px #f6f6f6;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
|
||||||
background: none!important;
|
background: none!important;
|
||||||
border: none;
|
border: none;
|
||||||
padding: 0!important;
|
padding: 0!important;
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
|
var nextBodyIdx = 0;
|
||||||
|
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
$("head").append('<style type="text/css"></style>');
|
$("head").append('<style type="text/css"></style>');
|
||||||
var newStyleElement = $("head").children(':last');
|
var newStyleElement = $("head").children(':last');
|
||||||
newStyleElement.html('.limit-height{max-height: ' + postLimitHeight + 'px; overflow: hidden;}');
|
newStyleElement.html('.limit-height{max-height: ' + postLimitHeight + 'px; overflow: hidden; display:inline-block;}');
|
||||||
|
|
||||||
handleNewWallItemBodies();
|
handleNewWallItemBodies();
|
||||||
|
|
||||||
|
@ -19,6 +21,9 @@ function handleNewWallItemBodies() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!$el.attr("id")) {
|
||||||
|
$el.attr("id", nextBodyIdx++);
|
||||||
|
}
|
||||||
addHeightToggleHandler($el);
|
addHeightToggleHandler($el);
|
||||||
var limited = processHeightLimit($el);
|
var limited = processHeightLimit($el);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue