(el: HTMLDivElement)
| 801 | // Sets the Font Size variable on portal menu elements since they will be outside |
| 802 | // the main panel container |
| 803 | const setComputedVariables = (el: HTMLDivElement) => { |
| 804 | const computedStyle = getComputedStyle(containerRef) |
| 805 | const variable = computedStyle.getPropertyValue('--tsqd-font-size') |
| 806 | el.style.setProperty('--tsqd-font-size', variable) |
| 807 | } |
| 808 | return ( |
| 809 | <> |
| 810 | <div |