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 4545 display : block ;
4646 }
4747
48- tbody tr {
49- display : block ;
48+ tbody {
49+ display : grid ;
5050 }
5151
52- tbody tr :first-child {
53- margin-top : $spv--x-large ;
52+ tbody tr {
53+ display : block ;
5454 }
5555 }
5656 }
Original file line number Diff line number Diff line change @@ -104,5 +104,10 @@ export const Responsive: Story = {
104104 </ >
105105 ) ,
106106 } ,
107+ // Percy settings to capture at multiple widths
108+ percy : {
109+ responsiveSnapshotCapture : true ,
110+ widths : [ 768 , 1280 ] ,
111+ } ,
107112 } ,
108113} ;
Original file line number Diff line number Diff line change @@ -59,8 +59,7 @@ export const getElementAbsoluteHeight = (element: HTMLElement) => {
5959 }
6060 const style = window . getComputedStyle ( element ) ;
6161 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 ;
6463} ;
6564
6665export const getAbsoluteHeightBelowById = ( belowId : string ) : number => {
You can’t perform that action at this time.
0 commit comments