Closed shammai closed 9 years ago
Hi Shammai,
When I'm using ng-cells, I'm pretty sure I could customise the css to my own liking. Do you mind making an sample of this issue on codepen, jsfiddle, plunkr, (whatever drafting tool) so that I can see your issue?
Cheers,
David
On 11 July 2014 16:14, shammai notifications@github.com wrote:
The inner div created within each cell (div cell-content or custom-cell-template etc.) has the styles of the td added to them. However, when using styles such as width if you specify the width in percentages then the inner div gets the same value.
Therefore, if the td width is 20% wide, then the inner div style will get 20% width. The problem with this approach is that the inner div percentage is relative to the TD and is therefore too small.
— Reply to this email directly or view it on GitHub https://github.com/gdepourtales/ng-cells/issues/14.
No update so closing
The inner div created within each cell (div cell-content or custom-cell-template etc.) has the styles of the td added to them. However, when using styles such as width if you specify the width in percentages then the inner div gets the same value.
Therefore, if the td width is 20% wide, then the inner div style will get 20% width. The problem with this approach is that the inner div percentage is relative to the TD and is therefore too small.