We have a number of cases where we have right-aligned numeric values inside of our grids using the CSS text-align property. However, the k-dirty span is no longer aligned at the top left corner of the table cell. Since the table cells are styled using the HtmlAttributes property for the column, there does not seem to be an easy way to style the cell content without also affecting the k-dirty element. We have come up with a work-around by overriding the k-dirty class as follows:
Has anyone come up with a better solution to this problem?
I have attached a small screenshot to illustrate the issue.
Thanks in advance!
Brian Roth
.k-dirty {
display
:
block
;
margin
:
-0.4em
0
0
-0.6em
;
position
:
relative
;
}
I have attached a small screenshot to illustrate the issue.
Thanks in advance!
Brian Roth