File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,8 +63,8 @@ export const equalizeRelativeHeights = (
63
63
items . forEach ( ( item , i ) => {
64
64
const { container, elToEqualize } = item ;
65
65
item . relativeOffsetTop =
66
- elToEqualize . getBoundingClientRect ( ) . y -
67
- container . getBoundingClientRect ( ) . y ;
66
+ elToEqualize . getBoundingClientRect ( ) . top -
67
+ container . getBoundingClientRect ( ) . top ;
68
68
indexOfLongest = indexOfLongest === null ? i : indexOfLongest ;
69
69
indexOfLongest =
70
70
items [ indexOfLongest ] . relativeOffsetTop < item . relativeOffsetTop
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ class BoltTwoCharacterLayout extends withLitHtml() {
141
141
`.${ boltCharacterCenterClass } ` ,
142
142
) ;
143
143
connection . style . minWidth = `calc(${ nextCharacterCenter . getBoundingClientRect ( )
144
- . x - connection . getBoundingClientRect ( ) . x } px + 50%)`;
144
+ . left - connection . getBoundingClientRect ( ) . left } px + 50%)`;
145
145
}
146
146
} ) ;
147
147
} ;
You can’t perform that action at this time.
0 commit comments