Commit d4b04022 authored by Julia Radzhabova's avatar Julia Radzhabova

Fix style for TableStyler component (rows=1, cell spacing=true).

parent 640fa5e4
...@@ -505,6 +505,8 @@ define([ ...@@ -505,6 +505,8 @@ define([
table_content = $('#' + meId + '-table-content'); table_content = $('#' + meId + '-table-content');
cells_content = table_content.find('.cell-content'); cells_content = table_content.find('.cell-content');
table_content.find('.content-box').css('height', (me.rows>1) ? '50%' : 'auto');
topBorderSelector.on('click', function(e){ topBorderSelector.on('click', function(e){
if (me.overwriteStyle){ if (me.overwriteStyle){
if (borderSize.top != virtualBorderSize || !borderColor.top.isEqual(virtualBorderColor)){ if (borderSize.top != virtualBorderSize || !borderColor.top.isEqual(virtualBorderColor)){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment