# HG changeset patch # User ymh # Date 1484126029 -3600 # Node ID b2e22052e9d616fb3921b1eede11e000ea10b983 # Parent 2b9c120dba55b556fc991151d75690ced870e141 improve node title style control display diff -r 2b9c120dba55 -r b2e22052e9d6 client/css/renkan.css --- a/client/css/renkan.css Tue Jan 10 17:36:30 2017 +0100 +++ b/client/css/renkan.css Wed Jan 11 10:13:49 2017 +0100 @@ -523,6 +523,7 @@ .Rk-Editor-p-title-style { width: 100%; + margin-bottom: 5px; } .Rk-Editor-p-title-style .Rk-Editor-Label { @@ -531,6 +532,7 @@ .Rk-Editor-p-title-style div { float: left; + clear: none; } .Rk-Editor-p-title-style .Rk-Editor-p-title-color { diff -r 2b9c120dba55 -r b2e22052e9d6 client/js/main.js --- a/client/js/main.js Tue Jan 10 17:36:30 2017 +0100 +++ b/client/js/main.js Wed Jan 11 10:13:49 2017 +0100 @@ -562,11 +562,11 @@ _selector.css({ 'overflow-x': 'hidden', 'overflow-y': 'scroll', - 'max-height':(container_rect.bottom - 2 * _options.tooltip_padding - 10 - rect.top) + 'px' + 'max-height':(container_rect.bottom - 2 * _options.tooltip_padding - 5 - rect.top) + 'px' }); } - var _height = _selector.outerHeight() + 2 * _options.tooltip_padding, + var _height = _selector.outerHeight() + 2 * _options.tooltip_padding + 5, _isLeft = (_coords.x < paper.view.center.x ? 1 : -1), _left = _coords.x + _isLeft * (_xmargin + _options.tooltip_arrow_length), _right = _coords.x + _isLeft * (_xmargin + _options.tooltip_arrow_length + _options.tooltip_width), diff -r 2b9c120dba55 -r b2e22052e9d6 client/templates/nodeeditor.html --- a/client/templates/nodeeditor.html Tue Jan 10 17:36:30 2017 +0100 +++ b/client/templates/nodeeditor.html Wed Jan 11 10:13:49 2017 +0100 @@ -11,7 +11,7 @@ <% } %>

<% if (options.show_node_title_style) { %> -
+
<%-renkan.translate("Title color:")%>