Skip to content

Commit

Permalink
SAK-31129 : Home tool (site info display) does not respect frame heig…
Browse files Browse the repository at this point in the history
…ht selection for RTE content (sakaiproject#4630)
  • Loading branch information
frasese authored and csev committed Aug 1, 2017
1 parent 8bdbccd commit 5f97779
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ body > .portletBody {
}
.#{$namespace}sakai-iframe-site{
.siteDescription{
margin: 2em 0 0 0;
overflow: auto;
}
}

Expand Down
2 changes: 1 addition & 1 deletion web/web-portlet/src/bundle/vm/info.vm
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<div class="portletBody siteDescription">
<div class="portletBody siteDescription" style="height:$height">
$!siteInfo
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ public void doView(RenderRequest request, RenderResponse response)
StringBuilder alertMsg = new StringBuilder();
if ( siteInfo != null ) siteInfo = validator.processFormattedText(siteInfo, alertMsg);
context.put("siteInfo", siteInfo);
context.put("height",height);
vHelper.doTemplate(vengine, "/vm/info.vm", context, out);
return;
}
Expand Down

0 comments on commit 5f97779

Please sign in to comment.