From d4b040221a225dd541e7b899aa775c375745260a Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 3 Oct 2016 16:09:08 +0300 Subject: [PATCH] Fix style for TableStyler component (rows=1, cell spacing=true). --- apps/common/main/lib/component/TableStyler.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/common/main/lib/component/TableStyler.js b/apps/common/main/lib/component/TableStyler.js index f98eef68e..fbfc1106c 100644 --- a/apps/common/main/lib/component/TableStyler.js +++ b/apps/common/main/lib/component/TableStyler.js @@ -505,6 +505,8 @@ define([ table_content = $('#' + meId + '-table-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){ if (me.overwriteStyle){ if (borderSize.top != virtualBorderSize || !borderColor.top.isEqual(virtualBorderColor)){