(el: HTMLDivElement)
| 736 | // Sets the Font Size variable on portal menu elements since they will be outside |
| 737 | // the main panel container |
| 738 | const setComputedVariables = (el: HTMLDivElement) => { |
| 739 | const computedStyle = getComputedStyle(containerRef) |
| 740 | const variable = computedStyle.getPropertyValue('--tsqd-font-size') |
| 741 | el.style.setProperty('--tsqd-font-size', variable) |
| 742 | } |
| 743 | return ( |
| 744 | <> |
| 745 | <div |
no outgoing calls
no test coverage detected
searching dependent graphs…