From ddc1be5e119c7b8eab2909f65afeeb0f71f9b91f Mon Sep 17 00:00:00 2001 From: Nick Poulden Date: Wed, 15 Jun 2011 11:30:09 -0700 Subject: [PATCH] Tab panel bug is fixed in Ext 4.0.4 branch, so remove the CSS hacks --- template/app/view/Viewport.js | 2 ++ template/resources/sass/viewport.scss | 11 +---------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/template/app/view/Viewport.js b/template/app/view/Viewport.js index 49dd8870..9236cac2 100644 --- a/template/app/view/Viewport.js +++ b/template/app/view/Viewport.js @@ -87,6 +87,8 @@ Ext.define('Docs.view.Viewport', { height: 150, padding: '2 4 0 0', bodyPadding: '8 15 8 12', + border: false, + plain: true, split: true, listeners: { afterRender: function() { diff --git a/template/resources/sass/viewport.scss b/template/resources/sass/viewport.scss index 0548a697..8f16d947 100644 --- a/template/resources/sass/viewport.scss +++ b/template/resources/sass/viewport.scss @@ -222,16 +222,7 @@ a { .x-grid-row-over td img { display: block; } .x-grid-cell-inner { - padding: 2px 2px 3px 2px; } - // plain:true of gridpanel does not work as intended for us, - // so use plain:false and style the tab-bar almost like plan - // by simply removing the background and borders. - .x-tab-bar { - background: transparent; - .x-tab-bar-body { - border: none; - // because we removed the border, push the tabs 2px (instead of 1px) lower. - padding-top: 2px; } } } + padding: 2px 2px 3px 2px; } } .x-splitter { background: #ccc; border-style: solid; -- GitLab