Author: dmorozov
Date: 2007-06-29 14:37:12 -0400 (Fri, 29 Jun 2007)
New Revision: 1420
Modified:
trunk/sandbox/scrollable-grid/src/main/resources/org/richfaces/renderkit/html/css/grid.xcss
trunk/sandbox/scrollable-grid/src/main/templates/org/richfaces/scrollable-grid-cell.jspx
Log:
Remove unnecessary div element
Modified:
trunk/sandbox/scrollable-grid/src/main/resources/org/richfaces/renderkit/html/css/grid.xcss
===================================================================
---
trunk/sandbox/scrollable-grid/src/main/resources/org/richfaces/renderkit/html/css/grid.xcss 2007-06-29
18:13:40 UTC (rev 1419)
+++
trunk/sandbox/scrollable-grid/src/main/resources/org/richfaces/renderkit/html/css/grid.xcss 2007-06-29
18:37:12 UTC (rev 1420)
@@ -308,18 +308,13 @@
.ClientUI_Grid_BCBody {
cursor: default;
font: normal 8pt arial;
- padding: 3px 5px;
- white-space: nowrap;
-}
-.ClientUI_Grid_BCBody1 {
- cursor: default;
- font: normal 8pt arial;
+ white-space: nowrap;
padding: 0px 0px;
- white-space: nowrap;
position: relative;
display: block;
- overflow: hidden;
+ overflow: hidden;
width: 100%;
+ height: 16px;
}
/**
Modified:
trunk/sandbox/scrollable-grid/src/main/templates/org/richfaces/scrollable-grid-cell.jspx
===================================================================
---
trunk/sandbox/scrollable-grid/src/main/templates/org/richfaces/scrollable-grid-cell.jspx 2007-06-29
18:13:40 UTC (rev 1419)
+++
trunk/sandbox/scrollable-grid/src/main/templates/org/richfaces/scrollable-grid-cell.jspx 2007-06-29
18:37:12 UTC (rev 1420)
@@ -12,10 +12,8 @@
<td class="ClientUI_Grid_BC Idg-column-cell #{columnClass}
#{component.attributes['styleClass']}"
id="#{client_id}:c_#{cell_id}">
- <div id="#{client_id}:bc_#{cell_index}"
class="ClientUI_Grid_BCBody1">
- <div class="ClientUI_Grid_BCBody"
id="#{client_id}:bc_#{cell_id}">
- <vcp:body/>
- </div>
+ <div id="#{client_id}:bc_#{cell_id}"
class="ClientUI_Grid_BCBody">
+ <vcp:body/>
</div>
</td>