File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed
components/ScrollableTable Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 45
45
display : block ;
46
46
}
47
47
48
- tbody tr {
49
- display : block ;
48
+ tbody {
49
+ display : grid ;
50
50
}
51
51
52
- tbody tr :first-child {
53
- margin-top : $spv--x-large ;
52
+ tbody tr {
53
+ display : block ;
54
54
}
55
55
}
56
56
}
Original file line number Diff line number Diff line change @@ -104,5 +104,10 @@ export const Responsive: Story = {
104
104
</ >
105
105
) ,
106
106
} ,
107
+ // Percy settings to capture at multiple widths
108
+ percy : {
109
+ responsiveSnapshotCapture : true ,
110
+ widths : [ 768 , 1280 ] ,
111
+ } ,
107
112
} ,
108
113
} ;
Original file line number Diff line number Diff line change @@ -59,8 +59,7 @@ export const getElementAbsoluteHeight = (element: HTMLElement) => {
59
59
}
60
60
const style = window . getComputedStyle ( element ) ;
61
61
const margin = toFloat ( style . marginTop ) + toFloat ( style . marginBottom ) ;
62
- const padding = toFloat ( style . paddingTop ) + toFloat ( style . paddingBottom ) ;
63
- return element . offsetHeight + margin + padding + 1 ;
62
+ return element . offsetHeight + margin + 1 ;
64
63
} ;
65
64
66
65
export const getAbsoluteHeightBelowById = ( belowId : string ) : number => {
You can’t perform that action at this time.
0 commit comments