Skip to content

Commit df2592a

Browse files
committed
Capture sync async with getBoundingClientRect (#35)
* Refactor layout method to accept target element for improved flexibility * refactor: simplify layout method by using logical OR for body assignment * refactor: replace magic numbers with named constants for media query breakpoints * refactor: replace repeated calls to getContentDocument with a variable for improved readability
1 parent a6d23a6 commit df2592a

File tree

5 files changed

+28
-16
lines changed

5 files changed

+28
-16
lines changed

0 commit comments

Comments
 (0)