Regression caused by the previous patch for the ticket. Details row inherited extra margin-top from parent.
Because some position functions in escalator use left for transforming the rows, the offset caused
by the spacer deco was switched to padding-left from left, so it won't get overridden by the position
funcion.
Change-Id: I774ab9573c95f971a0e625dc8d79370f3d86daec
@include box-sizing(border-box);
}
+ .v-ie8 &, .v-ie9 & {
+ // The inline style of margin-top from the <tbody> to offset the
+ // header's dimension is, for some strange reason, inherited into each
+ // contained <tr>. We need to cancel it:
+
+ margin-top: 0;
+ }
}
}
}
.#{$primaryStyleName}-spacer {
- left: $v-grid-details-marker-width - $v-grid-border-size;
+ // using padding since left is used with some position functions in escalator
+ padding-left: $v-grid-details-marker-width - $v-grid-border-size;
}
-
+
.#{$primaryStyleName}-spacer > td {
display: block;
padding: 0;